mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-29 22:27:13 +09:00
Add converted syntax files
This commit is contained in:
@@ -1,29 +1,13 @@
|
||||
filetype: vi
|
||||
|
||||
detect:
|
||||
detect:
|
||||
filename: "(^|/|\\.)(ex|vim)rc$|\\.vim"
|
||||
|
||||
rules:
|
||||
- identifier: "[A-Za-z_][A-Za-z0-9_]*[[:space:]]*[()]"
|
||||
- statement: "\\b([nvxsoilc]?(nore|un)?map|[nvlx]n|[ico]?no|[cilovx][um]|s?unm)\\b"
|
||||
- statement: "\\b(snor|nun|nm|set|if|endif|let|unlet)\\b"
|
||||
- statement: "[!&=]"
|
||||
- symbol.operator: "[!&=]"
|
||||
- constant.string: "\"(\\\\.|[^\"])*\"|'(\\\\.|[^'])*'"
|
||||
- constant.number: "\\b[0-9]+\\b"
|
||||
|
||||
- constant.string:
|
||||
start: "\""
|
||||
end: "\""
|
||||
rules:
|
||||
- constant.specialChar: "\\\\."
|
||||
|
||||
- constant.string:
|
||||
start: "'"
|
||||
end: "'"
|
||||
rules:
|
||||
- constant.specialChar: "\\\\."
|
||||
|
||||
- constant.comment:
|
||||
start: "\""
|
||||
end: "$"
|
||||
rules: []
|
||||
|
||||
- comment: "(^|[[:space:]])\\\"[^\"]*$"
|
||||
|
||||
Reference in New Issue
Block a user