aboutsummaryrefslogtreecommitdiff
path: root/runtime/syntax/meson.vim
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2021-11-08 00:10:44 +0100
committerGitHub <noreply@github.com>2021-11-08 00:10:44 +0100
commit8cbe100fcc9c5d34b07f417a82b745803fa3ef19 (patch)
treef859abc6bc58bc21db11d0bf9633b7f31fe48cf6 /runtime/syntax/meson.vim
parent16d4af6d2f549709aa55510f5ae52238c5cadb9c (diff)
downloadrneovim-8cbe100fcc9c5d34b07f417a82b745803fa3ef19.tar.gz
rneovim-8cbe100fcc9c5d34b07f417a82b745803fa3ef19.tar.bz2
rneovim-8cbe100fcc9c5d34b07f417a82b745803fa3ef19.zip
vim-patch:partial 113cb513f76d (#16260)
Update runtime files https://github.com/vim/vim/commit/113cb513f76d8866cbb6dc85fa18aded753e01da skip doc/eval.txt skip doc/insert.txt skip doc/user_06.txt (needs 8.2.3562) partial skip doc/syntax.txt (needs 8.2.3562)
Diffstat (limited to 'runtime/syntax/meson.vim')
-rw-r--r--runtime/syntax/meson.vim18
1 files changed, 11 insertions, 7 deletions
diff --git a/runtime/syntax/meson.vim b/runtime/syntax/meson.vim
index 7e6b565f19..0af0d776f8 100644
--- a/runtime/syntax/meson.vim
+++ b/runtime/syntax/meson.vim
@@ -3,7 +3,7 @@
" License: VIM License
" Maintainer: Nirbheek Chauhan <nirbheek.chauhan@gmail.com>
" Liam Beguin <liambeguin@gmail.com>
-" Last Change: 2019 Oct 18
+" Last Change: 2021 Aug 16
" Credits: Zvezdan Petkovic <zpetkovic@acm.org>
" Neil Schemenauer <nas@meson.ca>
" Dmitry Vasiliev
@@ -56,9 +56,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
@@ -97,6 +99,7 @@ syn keyword mesonBuiltin
\ install_headers
\ install_man
\ install_subdir
+ \ install_emptydir
\ is_disabler
\ is_variable
\ jar
@@ -118,6 +121,7 @@ syn keyword mesonBuiltin
\ summary
\ target_machine
\ test
+ \ unset_variable
\ vcs_tag
\ warning
\ range
@@ -133,15 +137,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