mirror of
https://github.com/zyedidia/micro.git
synced 2026-02-06 23:20:18 +09: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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user