From 8402a2223382af76d85ea65e59ad17b0bb3b24ce Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Fri, 27 Jul 2018 14:09:05 +0530 Subject: 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. --- data/syntax-highlighting/vim/syntax/meson.vim | 3 +++ 1 file changed, 3 insertions(+) (limited to 'data') 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 -- cgit v1.1