Always load vim-cmake-syntax
Avoid the cmake syntax highlighting being different when a file is loaded and when it is reloaded. This was cause by the plugin not being enabled until after a buffer with the cmake filetype was loaded causing the builtin cmake syntax highlighting to show on initial load then the plugins syntax highlighting to show on reload.
This commit is contained in:
parent
e2e90e9a1b
commit
3f4f0036f2
2
vimrc
2
vimrc
@ -169,7 +169,7 @@ Plug 'guns/xterm-color-table.vim'
|
||||
|
||||
" CMake, GLSL, HLSL, OpenCL C syntax
|
||||
Plug 'kbenzie/vim-spirv'
|
||||
Plug 'rperier/vim-cmake-syntax', {'for': ['cmake']}
|
||||
Plug 'rperier/vim-cmake-syntax'
|
||||
Plug 'tikhomirov/vim-glsl'
|
||||
Plug 'beyondmarc/hlsl.vim'
|
||||
Plug 'frasercrmck/opencl.vim'
|
||||
|
Loading…
x
Reference in New Issue
Block a user