mirror of
https://github.com/RGBCube/serenity
synced 2025-05-23 18:35:07 +00:00
HackStudio: Enable CMakeCache.txt highlighting
This commit is contained in:
parent
c6a2e8eb08
commit
b1ce852c37
3 changed files with 9 additions and 0 deletions
|
@ -14,6 +14,7 @@
|
|||
#include <AK/Debug.h>
|
||||
#include <AK/JsonParser.h>
|
||||
#include <AK/LexicalPath.h>
|
||||
#include <LibCMake/CMakeCache/SyntaxHighlighter.h>
|
||||
#include <LibCMake/SyntaxHighlighter.h>
|
||||
#include <LibConfig/Client.h>
|
||||
#include <LibCore/DeprecatedFile.h>
|
||||
|
@ -641,6 +642,9 @@ void Editor::set_syntax_highlighter_for(CodeDocument const& document)
|
|||
case Language::CMake:
|
||||
set_syntax_highlighter(make<CMake::SyntaxHighlighter>());
|
||||
break;
|
||||
case Language::CMakeCache:
|
||||
set_syntax_highlighter(make<CMake::Cache::SyntaxHighlighter>());
|
||||
break;
|
||||
case Language::CSS:
|
||||
set_syntax_highlighter(make<Web::CSS::SyntaxHighlighter>());
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue