Disable deoplete for elm
This commit is contained in:
parent
0950a4ee84
commit
642b00f1e1
6
init.vim
6
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 <expr><TAB> pumvisible() ? "\<C-n>" : "\<TAB>"
|
||||
|
||||
" }}}
|
||||
|
||||
" 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
|
||||
|
|
Loading…
Reference in New Issue