diff options
Diffstat (limited to 'syntax/meson.vim')
-rw-r--r-- | syntax/meson.vim | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/syntax/meson.vim b/syntax/meson.vim index 8e151a7e..3a5b50e2 100644 --- a/syntax/meson.vim +++ b/syntax/meson.vim @@ -60,9 +60,11 @@ syn match mesonEscape "\\$" " Meson only supports integer numbers " http://mesonbuild.com/Syntax.html#numbers syn match mesonNumber "\<\d\+\>" +syn match mesonNumber "\<0x\x\+\>" +syn match mesonNumber "\<0o\o\+\>" " booleans -syn keyword mesonConstant false true +syn keyword mesonBoolean false true " Built-in functions syn keyword mesonBuiltin @@ -101,6 +103,8 @@ syn keyword mesonBuiltin \ install_headers \ install_man \ install_subdir + \ install_symlink + \ install_emptydir \ is_disabler \ is_variable \ jar @@ -138,15 +142,15 @@ endif " The default highlight links. Can be overridden later. hi def link mesonStatement Statement hi def link mesonConditional Conditional -hi def link mesonRepeat Repeat +hi def link mesonRepeat Repeat hi def link mesonOperator Operator hi def link mesonComment Comment hi def link mesonTodo Todo -hi def link mesonString String -hi def link mesonEscape Special -hi def link mesonNumber Number +hi def link mesonString String +hi def link mesonEscape Special +hi def link mesonNumber Number hi def link mesonBuiltin Function -hi def link mesonConstant Number +hi def link mesonBoolean Boolean if exists("meson_space_error_higlight") hi def link mesonSpaceError Error endif |