From 3f361565215faae315c2e783ce945d5764eb42f7 Mon Sep 17 00:00:00 2001 From: "Kenneth Benzie (Benie)" Date: Fri, 9 Feb 2018 15:08:53 +0000 Subject: [PATCH] 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. --- vimrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vimrc b/vimrc index e712529..786b64f 100644 --- a/vimrc +++ b/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'