mirror of
https://github.com/gitnex-org/gitnex.git
synced 2026-11-19 17:54:31 -06:00
Fix INI highlighting (#1037)
My fork has native support for INI files (https://codeberg.org/qwerty287/Prism4j/commit/5ad2176c5f128f9367021f8ccf5971206d566607). Co-authored-by: qwerty287 <ndev@web.de> Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1037 Reviewed-by: M M Arif <mmarif@noreply.codeberg.org> Co-authored-by: qwerty287 <qwerty287@noreply.codeberg.org> Co-committed-by: qwerty287 <qwerty287@noreply.codeberg.org>
This commit is contained in:
committed by
M M Arif
co-authored by
qwerty287
parent
00efc968b9
commit
33fdff5f4d
@@ -96,7 +96,6 @@ public class MainGrammarLocator implements GrammarLocator {
|
||||
case "yaml":
|
||||
case "yml":
|
||||
case "properties": // This extension doesn't correspond to YAML, but it's the next best option
|
||||
case "ini": // This extension doesn't correspond to YAML, but it's the next best option
|
||||
return "yaml";
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user