From db3cc9a16dc28ccd032ba7641971f3b4deb74b0e Mon Sep 17 00:00:00 2001 From: Thomas Forgione Date: Fri, 24 May 2019 09:53:57 +0200 Subject: [PATCH] Disble python linter if env var is set --- init.vim | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/init.vim b/init.vim index 09693f5..525468d 100644 --- a/init.vim +++ b/init.vim @@ -144,3 +144,11 @@ autocmd InsertLeave * if pumvisible() == 0|pclose|endif inoremap pumvisible() ? "\" : "\" " }}} +" 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': [], +\} +endif +" }}}