Allow to disable java linter
This commit is contained in:
parent
1a49ba3ce7
commit
5ecc22db41
12
init.vim
12
init.vim
|
@ -145,10 +145,10 @@ inoremap <expr><TAB> pumvisible() ? "\<C-n>" : "\<TAB>"
|
||||||
" }}}
|
" }}}
|
||||||
|
|
||||||
" CUSTOM THINGS DEPENDING ON ENV ####################################{{{
|
" CUSTOM THINGS DEPENDING ON ENV ####################################{{{
|
||||||
let nvim_disable_python_linter=$NVIM_DISABLE_PYTHON_LINTER
|
let g:ale_linters = {}
|
||||||
if nvim_disable_python_linter == '1'
|
if $NVIM_DISABLE_PYTHON_LINTER == '1'
|
||||||
let g:ale_linters = {
|
let g:ale_linters.python = []
|
||||||
\ 'python': [],
|
endif
|
||||||
\}
|
if $NVIM_DISABLE_JAVA_LINTER == '1'
|
||||||
|
let g:ale_linters.java = []
|
||||||
endif
|
endif
|
||||||
" }}}
|
|
||||||
|
|
Loading…
Reference in New Issue