From: Stefan Huber Date: Sat, 18 Apr 2020 21:56:29 +0000 (+0200) Subject: Adding editorconfig support X-Git-Url: https://git.sthu.org/?a=commitdiff_plain;h=1b13e6bf6859f089faf9fd922e9df5c2d69e1ddc;p=vimconf.git Adding editorconfig support --- diff --git a/init.vim b/init.vim index aa86714..e8dac98 100644 --- a/init.vim +++ b/init.vim @@ -60,6 +60,8 @@ endif runtime plugsetup.vim +let g:EditorConfig_exclude_patterns = ['fugitive://.*', 'scp://.*'] + " Some preferences for indent detection let g:detectindent_min_indent = 2 let g:detectindent_max_indent = 4 @@ -112,7 +114,6 @@ else call neomake#configure#automake('nw', 1000) endif - let g:clang_compilation_database = '.' " Speedup deoplete startup time, see deoplete FAQ diff --git a/plugins.vim b/plugins.vim index 3b37131..06f5a9d 100644 --- a/plugins.vim +++ b/plugins.vim @@ -5,6 +5,8 @@ endfunction Plug 'mhinz/vim-startify' +Plug 'editorconfig/editorconfig-vim' + Plug 'vim-airline/vim-airline' Plug 'morhetz/gruvbox'