summaryrefslogtreecommitdiffstats
path: root/syntax/meson.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2021-12-21 14:41:23 +0100
committerAdam Stankiewicz <sheerun@sher.pl>2021-12-21 14:41:23 +0100
commit87a26c5bf169bafbee837e2323f24cfb07e35250 (patch)
tree326eb21bb10c3d3633b83263d21c85c98f92a67e /syntax/meson.vim
parent918610d427503c5c7b380eae4a954bd8cb427db5 (diff)
downloadvim-polyglot-87a26c5bf169bafbee837e2323f24cfb07e35250.tar.gz
vim-polyglot-87a26c5bf169bafbee837e2323f24cfb07e35250.zip
Update
Diffstat (limited to 'syntax/meson.vim')
-rw-r--r--syntax/meson.vim16
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