mirror of
https://github.com/Hopiu/micro.git
synced 2026-03-16 22:10:26 +00:00
Highlight .tscn, .tres and project.godot files using INI syntax
This also removes header detection for INI syntax, which could occasionally cause other file types (such as systemd service files) to be detected as INI.
This commit is contained in:
parent
de35d00ba7
commit
dab18e2fee
1 changed files with 2 additions and 3 deletions
|
|
@ -1,8 +1,7 @@
|
|||
filetype: ini
|
||||
|
||||
detect:
|
||||
filename: "\\.(ini|desktop|lfl|override)$|(mimeapps\\.list|pinforc|setup\\.cfg)$|weechat/.+\\.conf$"
|
||||
header: "^\\[[A-Za-z]+\\]$"
|
||||
detect:
|
||||
filename: "\\.(ini|desktop|lfl|override|tscn|tres)$|(mimeapps\\.list|pinforc|setup\\.cfg|project\\.godot)$|weechat/.+\\.conf$"
|
||||
|
||||
rules:
|
||||
- constant.bool.true: "\\btrue\\b"
|
||||
|
|
|
|||
Loading…
Reference in a new issue