Disable deoplete for elm

This commit is contained in:
Thomas Forgione 2019-06-18 17:28:07 +02:00
parent 0950a4ee84
commit 642b00f1e1
No known key found for this signature in database
GPG Key ID: 203DAEA747F48F41
1 changed files with 6 additions and 0 deletions

View File

@ -136,17 +136,23 @@ let g:instant_markdown_autostart = 0
" }}} " }}}
" CODE COMPLETION ###################################################{{{ " CODE COMPLETION ###################################################{{{
" Use deoplete " Use deoplete
let g:deoplete#enable_at_startup = 1 let g:deoplete#enable_at_startup = 1
autocmd FileType elm call deoplete#custom#buffer_option('auto_complete', v:false)
" Autoclose preview " Autoclose preview
autocmd CursorMovedI * if pumvisible() == 0|pclose|endif autocmd CursorMovedI * if pumvisible() == 0|pclose|endif
autocmd InsertLeave * if pumvisible() == 0|pclose|endif autocmd InsertLeave * if pumvisible() == 0|pclose|endif
" Complete on tab " Complete on tab
inoremap <expr><TAB> pumvisible() ? "\<C-n>" : "\<TAB>" inoremap <expr><TAB> pumvisible() ? "\<C-n>" : "\<TAB>"
" }}} " }}}
" CUSTOM THINGS DEPENDING ON ENV ####################################{{{ " CUSTOM THINGS DEPENDING ON ENV ####################################{{{
let g:ale_linters = {} let g:ale_linters = {}
let g:ale_lint_on_text_changed = 0
if $NVIM_DISABLE_PYTHON_LINTER == '1' if $NVIM_DISABLE_PYTHON_LINTER == '1'
let g:ale_linters.python = [] let g:ale_linters.python = []
endif endif