1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-21 10:35:08 +00:00

LibGUI+TextEditor+HackStudio: Add GML syntax highlighter :^)

This commit is contained in:
Andreas Kling 2020-12-21 13:59:21 +01:00
parent 3d3084f088
commit ab549cf942
8 changed files with 174 additions and 0 deletions

View file

@ -48,6 +48,8 @@ CodeDocument::CodeDocument(const String& file_path, Client* client)
m_language = Language::Cpp;
else if (lexical_path.has_extension(".js"))
m_language = Language::JavaScript;
else if (lexical_path.has_extension(".gml"))
m_language = Language::GML;
else if (lexical_path.has_extension(".ini"))
m_language = Language::Ini;
else if (lexical_path.has_extension(".sh"))