aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2018-07-27 14:09:05 +0530
committerNirbheek Chauhan <nirbheek.chauhan@gmail.com>2018-08-07 12:54:56 -0700
commit8402a2223382af76d85ea65e59ad17b0bb3b24ce (patch)
tree7410235030d0fb6cec4e8547ff8adcbf35855ce7 /data
parent376cdd7054a112f76cd0efcf32287b8efbbaf9ec (diff)
downloadmeson-8402a2223382af76d85ea65e59ad17b0bb3b24ce.zip
meson-8402a2223382af76d85ea65e59ad17b0bb3b24ce.tar.gz
meson-8402a2223382af76d85ea65e59ad17b0bb3b24ce.tar.bz2
Test that vim syntax highlighting is up-to-date
Needs a `mock` kwarg to Interpreter to not do any parsing of build files, but only setup the builtins and functions. Also consolidate the documentation and data tests into one class.
Diffstat (limited to 'data')
-rw-r--r--data/syntax-highlighting/vim/syntax/meson.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/data/syntax-highlighting/vim/syntax/meson.vim b/data/syntax-highlighting/vim/syntax/meson.vim
index c83302c..85acf43 100644
--- a/data/syntax-highlighting/vim/syntax/meson.vim
+++ b/data/syntax-highlighting/vim/syntax/meson.vim
@@ -69,6 +69,7 @@ syn keyword mesonBuiltin
\ add_project_arguments
\ add_project_link_arguments
\ add_test_setup
+ \ assert
\ benchmark
\ both_libraries
\ build_machine
@@ -102,6 +103,7 @@ syn keyword mesonBuiltin
\ library
\ meson
\ message
+ \ option
\ project
\ run_command
\ run_target
@@ -110,6 +112,7 @@ syn keyword mesonBuiltin
\ shared_module
\ static_library
\ subdir
+ \ subdir_done
\ subproject
\ target_machine
\ test