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:
Kenneth Benzie 2018-02-09 15:08:53 +00:00
parent e29a326d45
commit d7995347fb

2
vimrc
View File

@ -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'