Add syntax highlighting for microo
This commit is contained in:
parent
4ae7f4681e
commit
fbb68e6ff7
20
pdl.yaml
Normal file
20
pdl.yaml
Normal file
@ -0,0 +1,20 @@
|
||||
filetype: pdl
|
||||
|
||||
detect:
|
||||
filename: "\\.pdl$"
|
||||
|
||||
rules:
|
||||
- preproc: "\\bM[0-9a-fA-F]{4}\\b"
|
||||
|
||||
- type: "\\b((U|I)(5|8|16|32|64|128|256)|F(16|32|64|128|256)|Bool|String|Buffer|Table|Any)\\b"
|
||||
|
||||
- symbol.brackets: "(\\{|\\}|\\[\\])"
|
||||
- symbol.operator: "\\?"
|
||||
|
||||
- constant.number: "\\b[0-9a-fA-F]{4}\\b"
|
||||
|
||||
- comment:
|
||||
start: "//"
|
||||
end: "$"
|
||||
rules:
|
||||
- todo: "(TODO|XXX|FIXME|BUG):?"
|
||||
Loading…
x
Reference in New Issue
Block a user