Merge pull request #734 from eyelash/vala-types
improved highlighting for Vala types
This commit is contained in:
commit
18ad74a982
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ detect:
|
|||
filename: "\\.vala$"
|
||||
|
||||
rules:
|
||||
- type: "\\b(float|double|bool|char|int|uint|short|long|void|(un)?signed)\\b"
|
||||
- type: "\\b(float|double|bool|u?char|u?int(8|16|32|64)?|u?short|u?long|void|s?size_t|unichar)\\b"
|
||||
- identifier.class: "[A-Za-z_][A-Za-z0-9_]*[[:space:]]*[()]"
|
||||
- statement: "\\b(for|if|while|do|else|case|default|switch|try|throw|catch)\\b"
|
||||
- statement: "\\b(inline|typedef|struct|enum|union|extern|static|const)\\b"
|
||||
|
|
Loading…
Reference in a new issue