localcfg/plugins/editorconfig_vim.vim

Enforce vim script implementation to reduce ambiguities and improve robustness:

scriptversion 4

Use the faster C version when available:

if executable('editorconfig')
    const g:EditorConfig_core_mode = 'external_command'
    const g:EditorConfig_exec_path = exepath('editorconfig')
endif

We manage 'colorcolumn' in settings.vim, so disable this plugin’s support:

const g:EditorConfig_max_line_indicator = 'none'

Ignore fugitive buffers:

const g:EditorConfig_exclude_patterns = ['fugitive://.\*']