summaryrefslogtreecommitdiffstats
path: root/Auxiliary
diff options
context:
space:
mode:
authorDan Johnston <dan.e.johnston@gmail.com>2020-01-14 18:17:15 (GMT)
committerBrad King <brad.king@kitware.com>2020-01-16 15:29:26 (GMT)
commitebd0b16ddbfc64d627aae7acb991aefa7179fa8b (patch)
treef23b113a307f25087a418825752c330ca85d5332 /Auxiliary
parent710371ca2f5032462e8dc352da869834bb421261 (diff)
downloadCMake-ebd0b16ddbfc64d627aae7acb991aefa7179fa8b.zip
CMake-ebd0b16ddbfc64d627aae7acb991aefa7179fa8b.tar.gz
CMake-ebd0b16ddbfc64d627aae7acb991aefa7179fa8b.tar.bz2
vim: Add target_precompile_headers command highlighting
Diffstat (limited to 'Auxiliary')
-rw-r--r--Auxiliary/vim/syntax/cmake.vim7
1 files changed, 7 insertions, 0 deletions
diff --git a/Auxiliary/vim/syntax/cmake.vim b/Auxiliary/vim/syntax/cmake.vim
index 31ec1d0..65c74da 100644
--- a/Auxiliary/vim/syntax/cmake.vim
+++ b/Auxiliary/vim/syntax/cmake.vim
@@ -2864,6 +2864,11 @@ syn keyword cmakeKWtarget_link_options contained
\ _LINKER_WRAPPER_FLAG
\ _LINKER_WRAPPER_FLAG_SEP
+syn keyword cmakeKWtarget_precompile_headers contained
+ \ INTERFACE
+ \ PRIVATE
+ \ PUBLIC
+
syn keyword cmakeKWtarget_sources contained
\ ALIAS
\ IMPORTED
@@ -3168,6 +3173,7 @@ syn keyword cmakeCommand
\ target_link_directories
\ target_link_libraries
\ target_link_options
+ \ target_precompile_headers
\ target_sources
\ try_compile
\ try_run
@@ -3324,6 +3330,7 @@ hi def link cmakeKWtarget_include_directories ModeMsg
hi def link cmakeKWtarget_link_directories ModeMsg
hi def link cmakeKWtarget_link_libraries ModeMsg
hi def link cmakeKWtarget_link_options ModeMsg
+hi def link cmakeKWtarget_precompile_headers ModeMsg
hi def link cmakeKWtarget_sources ModeMsg
hi def link cmakeKWtry_compile ModeMsg
hi def link cmakeKWtry_run ModeMsg