mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:57:44 +00:00
HackStudio: Add syntax highlighting for HTML, Shell, and SQL files
.html files were recognised before -- the name was shown on the statusbar, but it didn't actually enable the syntax highlighting. This also sneaks a highlighting for JSON using JS highlighting. It isn't technically correct, but so does TextEditor. :^)
This commit is contained in:
parent
68088b629b
commit
bf322e072f
4 changed files with 22 additions and 6 deletions
|
@ -13,9 +13,11 @@ enum class Language {
|
|||
Unknown,
|
||||
Cpp,
|
||||
JavaScript,
|
||||
HTML,
|
||||
GML,
|
||||
Ini,
|
||||
Shell,
|
||||
SQL,
|
||||
};
|
||||
|
||||
Language language_from_file_extension(const String&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue