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 ####################################{{{
|
||||
let nvim_disable_python_linter=$NVIM_DISABLE_PYTHON_LINTER
|
||||
if nvim_disable_python_linter == '1'
|
||||
let g:ale_linters = {
|
||||
\ 'python': [],
|
||||
\}
|
||||
let g:ale_linters = {}
|
||||
if $NVIM_DISABLE_PYTHON_LINTER == '1'
|
||||
let g:ale_linters.python = []
|
||||
endif
|
||||
if $NVIM_DISABLE_JAVA_LINTER == '1'
|
||||
let g:ale_linters.java = []
|
||||
endif
|
||||
" }}}
|
||||
|
|
Loading…
Reference in New Issue