From 9835bb967d38b57e74740b779388e2d1b7a0d97c Mon Sep 17 00:00:00 2001 From: M1dgard Date: Mon, 6 Aug 2018 20:16:50 +0200 Subject: [PATCH] [nvim] EditorConfig, where have you been all my life --- nvim-init.vim | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/nvim-init.vim b/nvim-init.vim index ff514f0..ceefffb 100644 --- a/nvim-init.vim +++ b/nvim-init.vim @@ -231,6 +231,7 @@ call plug#begin('~/.config/nvim/plug') "Plug 'dbmrq/vim-ditto' " highlight overused words " Misc + Plug 'editorconfig/editorconfig-vim' " per-project modeline-like configuration "Plug 'kassio/neoterm', { 'on': 'T' } " wrapper of some neovim's :terminal functions "Plug 'tpope/vim-fugitive' " a Git wrapper "Plug 'vim-scripts/TeTrIs.vim' " Tetris clone @@ -490,6 +491,15 @@ let g:ale_lint_delay=500 " Ditto {{{2 " ---------- +" EditorConfig {{{2 +" ----------------- +" +let g:EditorConfig_exclude_patterns = ['fugitive://.*', 'scp://.*'] +let g:EditorConfig_max_line_indicator = 'line' + +let g:EditorConfig_exec_path = '/usr/bin/editorconfig' +let g:EditorConfig_core_mode = 'external_command' + " Neoterm {{{2 " ------------