From 983562c66e9ee28ce4204d69811cd870e2e1960f Mon Sep 17 00:00:00 2001 From: Liam Beguin Date: Sun, 27 Aug 2023 13:43:28 -0400 Subject: syntax-highlighting: vim: update builtin function list Update builtin function list using the refman python docs/genrefman.py \ -g vim \ -o data/syntax-highlighting/vim/syntax/ This also drops gettext() and find_library() from the list of builtin functions that have been deprecated since 2016. Changes are squashed here because test_vim_syntax_highlighting() would validate the file against the list of builtin functions that no longer matches the yaml documentation. Signed-off-by: Liam Beguin --- data/syntax-highlighting/vim/syntax/meson.vim | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) (limited to 'data/syntax-highlighting/vim/syntax') diff --git a/data/syntax-highlighting/vim/syntax/meson.vim b/data/syntax-highlighting/vim/syntax/meson.vim index 1b576d9bc..a1679e0d7 100644 --- a/data/syntax-highlighting/vim/syntax/meson.vim +++ b/data/syntax-highlighting/vim/syntax/meson.vim @@ -3,7 +3,7 @@ " License: VIM License " Maintainer: Nirbheek Chauhan " Liam Beguin -" Last Change: 2021 Aug 16 +" Last Change: 2023 Aug 27 " Credits: Zvezdan Petkovic " Neil Schemenauer " Dmitry Vasiliev @@ -64,6 +64,11 @@ syn keyword mesonBoolean false true " Built-in functions syn keyword mesonBuiltin + \ build_machine + \ host_machine + \ meson + \ option + \ target_machine \ add_global_arguments \ add_global_link_arguments \ add_languages @@ -75,11 +80,11 @@ syn keyword mesonBuiltin \ assert \ benchmark \ both_libraries - \ build_machine \ build_target \ configuration_data \ configure_file \ custom_target + \ debug \ declare_dependency \ dependency \ disabler @@ -87,30 +92,26 @@ syn keyword mesonBuiltin \ error \ executable \ files - \ find_library \ find_program \ generator \ get_option \ get_variable - \ gettext - \ host_machine \ import \ include_directories \ install_data + \ install_emptydir \ install_headers \ install_man \ install_subdir \ install_symlink - \ install_emptydir \ is_disabler \ is_variable \ jar \ join_paths \ library - \ meson \ message - \ option \ project + \ range \ run_command \ run_target \ set_variable @@ -122,13 +123,10 @@ syn keyword mesonBuiltin \ subdir_done \ subproject \ summary - \ target_machine \ test \ unset_variable \ vcs_tag \ warning - \ range - \ debug if exists("meson_space_error_highlight") " trailing whitespace -- cgit v1.2.3