From 8d01fd9863a5424ab50d089c64e568d8afd982a4 Mon Sep 17 00:00:00 2001 From: Linus Groh Date: Thu, 7 May 2020 15:32:05 +0100 Subject: HackStudio: Apply INI syntax highlighter when opening a .ini file --- DevTools/HackStudio/main.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'DevTools/HackStudio/main.cpp') diff --git a/DevTools/HackStudio/main.cpp b/DevTools/HackStudio/main.cpp index 02e5047cc1..ae3941922f 100644 --- a/DevTools/HackStudio/main.cpp +++ b/DevTools/HackStudio/main.cpp @@ -48,6 +48,7 @@ #include #include #include +#include #include #include #include @@ -735,6 +736,8 @@ void open_file(const String& filename) current_editor().set_syntax_highlighter(make()); else if (filename.ends_with(".js")) current_editor().set_syntax_highlighter(make()); + else if (filename.ends_with(".ini")) + current_editor().set_syntax_highlighter(make()); else current_editor().set_syntax_highlighter(nullptr); -- cgit v1.2.3