]> git.sthu.org Git - vimconf.git/commitdiff
Adding editorconfig support
authorStefan Huber <shuber@sthu.org>
Sat, 18 Apr 2020 21:56:29 +0000 (23:56 +0200)
committerStefan Huber <shuber@sthu.org>
Sat, 18 Apr 2020 21:56:29 +0000 (23:56 +0200)
init.vim
plugins.vim

index aa86714d76c608905b253a37d67c73fc0717a9aa..e8dac98d6375e37a557a6cecd6515294f8259663 100644 (file)
--- 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
index 3b37131e05b00251119a150552cfc6e371b3ceb2..06f5a9d7745d14cb6d340b4abd0a7c78911901d6 100644 (file)
@@ -5,6 +5,8 @@ endfunction
 
 Plug 'mhinz/vim-startify'
 
+Plug 'editorconfig/editorconfig-vim'
+
 Plug 'vim-airline/vim-airline'
 Plug 'morhetz/gruvbox'