mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-23 21:24:59 +00:00
Add syntax highlighting for Haxe
This commit is contained in:
parent
30765cf7b3
commit
0dbca4fe47
3 changed files with 2559 additions and 1 deletions
|
@ -24,7 +24,7 @@ namespace SourceGit.Models
|
|||
_backend = new RegistryOptions(defaultTheme);
|
||||
_extraGrammars = new List<IRawGrammar>();
|
||||
|
||||
string[] extraGrammarFiles = ["toml.json", "kotlin.json"];
|
||||
string[] extraGrammarFiles = ["toml.json", "kotlin.json", "haxe.json", "hxml.json"];
|
||||
foreach (var file in extraGrammarFiles)
|
||||
{
|
||||
var asset = AssetLoader.Open(new Uri($"avares://SourceGit/Resources/Grammars/{file}",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue