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
a2c59d8ca3
commit
3f36156521
2
vimrc
2
vimrc
@ -169,7 +169,7 @@ Plug 'guns/xterm-color-table.vim'
|
|||||||
|
|
||||||
" CMake, GLSL, HLSL, OpenCL C syntax
|
" CMake, GLSL, HLSL, OpenCL C syntax
|
||||||
Plug 'kbenzie/vim-spirv'
|
Plug 'kbenzie/vim-spirv'
|
||||||
Plug 'rperier/vim-cmake-syntax', {'for': ['cmake']}
|
Plug 'rperier/vim-cmake-syntax'
|
||||||
Plug 'tikhomirov/vim-glsl'
|
Plug 'tikhomirov/vim-glsl'
|
||||||
Plug 'beyondmarc/hlsl.vim'
|
Plug 'beyondmarc/hlsl.vim'
|
||||||
Plug 'frasercrmck/opencl.vim'
|
Plug 'frasercrmck/opencl.vim'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user