diff options
author | Christian Chiarulli <[email protected]> | 2019-02-12 18:35:28 -0500 |
---|---|---|
committer | Christian Chiarulli <[email protected]> | 2019-02-12 18:35:28 -0500 |
commit | 673a407d9dfba7b74187d35da2c135d429ac9b36 (patch) | |
tree | 3e0f887bf9c1b0a8c0b6e9e122033eb602514be5 /modules/deoplete.vim | |
parent | 5e1093a5a5acc95f7e447393d808fc7f8325ce53 (diff) |
need to fix ALE markdown thing and create needed programs list but installed LSP
Diffstat (limited to 'modules/deoplete.vim')
-rw-r--r-- | modules/deoplete.vim | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/modules/deoplete.vim b/modules/deoplete.vim index 1774fa66..bdf8c6f1 100644 --- a/modules/deoplete.vim +++ b/modules/deoplete.vim @@ -1,4 +1,17 @@ " Enable deoplete let g:deoplete#enable_at_startup = 1 +let g:deoplete#complete_method = "omnifunc" +let g:deoplete#auto_complete_delay = 0 " <TAB>: completion. -inoremap <expr><TAB> pumvisible() ? "\<C-n>" : "\<TAB>" +""inoremap <expr><TAB> pumvisible() ? "\<C-n>" : "\<TAB>" +"use TAB as the mapping +inoremap <silent><expr> <TAB> + \ pumvisible() ? "\<C-n>" : + \ <SID>check_back_space() ? "\<TAB>" : + \ deoplete#mappings#manual_complete() +function! s:check_back_space() abort "" + let col = col('.') - 1 + return !col || getline('.')[col - 1] =~ '\s' +endfunction "" +inoremap <silent><expr><S-TAB> pumvisible() ? "\<C-p>" : "\<TAB>" +inoremap <expr><BS> deoplete#smart_close_popup()."\<C-h>" |