diff options
Diffstat (limited to 'DevTools/HackStudio/Editor.cpp')
-rw-r--r-- | DevTools/HackStudio/Editor.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/DevTools/HackStudio/Editor.cpp b/DevTools/HackStudio/Editor.cpp index 901d1d054a..79f59d403e 100644 --- a/DevTools/HackStudio/Editor.cpp +++ b/DevTools/HackStudio/Editor.cpp @@ -35,6 +35,7 @@ #include <LibCore/File.h> #include <LibGUI/Application.h> #include <LibGUI/CppSyntaxHighlighter.h> +#include <LibGUI/GMLSyntaxHighlighter.h> #include <LibGUI/INISyntaxHighlighter.h> #include <LibGUI/JSSyntaxHighlighter.h> #include <LibGUI/Label.h> @@ -467,6 +468,9 @@ void Editor::set_document(GUI::TextDocument& doc) set_syntax_highlighter(make<GUI::CppSyntaxHighlighter>()); m_language_client = get_language_client<LanguageClients::Cpp::ServerConnection>(project().root_path()); break; + case Language::GML: + set_syntax_highlighter(make<GUI::GMLSyntaxHighlighter>()); + break; case Language::JavaScript: set_syntax_highlighter(make<GUI::JSSyntaxHighlighter>()); break; |