Allow to disable java linter

This commit is contained in:
Thomas Forgione 2019-06-04 15:32:08 +02:00
parent 1a49ba3ce7
commit 5ecc22db41
No known key found for this signature in database
GPG Key ID: 203DAEA747F48F41
1 changed files with 6 additions and 6 deletions

View File

@ -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
" }}}