diff --git a/init.vim b/init.vim index a69e640..7c45eea 100644 --- a/init.vim +++ b/init.vim @@ -136,17 +136,23 @@ let g:instant_markdown_autostart = 0 " }}} " CODE COMPLETION ###################################################{{{ + " Use deoplete let g:deoplete#enable_at_startup = 1 +autocmd FileType elm call deoplete#custom#buffer_option('auto_complete', v:false) + " Autoclose preview autocmd CursorMovedI * if pumvisible() == 0|pclose|endif autocmd InsertLeave * if pumvisible() == 0|pclose|endif + " Complete on tab inoremap pumvisible() ? "\" : "\" + " }}} " CUSTOM THINGS DEPENDING ON ENV ####################################{{{ let g:ale_linters = {} +let g:ale_lint_on_text_changed = 0 if $NVIM_DISABLE_PYTHON_LINTER == '1' let g:ale_linters.python = [] endif