diff options
author | Chris <[email protected]> | 2020-04-05 11:54:05 -0400 |
---|---|---|
committer | Chris <[email protected]> | 2020-04-05 11:54:05 -0400 |
commit | 374e3ab69621d03571c36e248ab311c0facffec9 (patch) | |
tree | 0203e7770a29396dc9651ccf2935d0677a7a8952 /modules/coc.vim | |
parent | e1ce0a2f9656b8f44dca2f92afaa2cfda17222f3 (diff) |
auto push
Diffstat (limited to 'modules/coc.vim')
-rw-r--r-- | modules/coc.vim | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/modules/coc.vim b/modules/coc.vim index 855127a0..12f553ac 100644 --- a/modules/coc.vim +++ b/modules/coc.vim @@ -21,16 +21,16 @@ set signcolumn=yes "better nav for omnicomplete inoremap <expr> <c-j> ("\<C-n>") -inoremap <expr> <c-k> ("\<C-p>") +inoremap <expr> <c-k> ("\<C-p>") " Use tab for trigger completion with characters ahead and navigate. " NOTE: Use command ':verbose imap <tab>' to make sure tab is not mapped by " other plugin before putting this into your config. -inoremap <silent><expr> <TAB> - \ pumvisible() ? "\<C-n>" : - \ <SID>check_back_space() ? "\<TAB>" : - \ coc#refresh() -inoremap <expr><S-TAB> pumvisible() ? "\<C-p>" : "\<C-h>" +"inoremap <silent><expr> <TAB> + "\ pumvisible() ? "\<C-n>" : + "\ <SID>check_back_space() ? "\<TAB>" : + "\ coc#refresh() +"inoremap <expr><S-TAB> pumvisible() ? "\<C-p>" : "\<C-h>" function! s:check_back_space() abort let col = col('.') - 1 @@ -108,8 +108,8 @@ omap af <Plug>(coc-funcobj-a) " Use <TAB> for selections ranges. " NOTE: Requires 'textDocument/selectionRange' support from the language server. " coc-tsserver, coc-python are the examples of servers that support it. -nmap <silent> <TAB> <Plug>(coc-range-select) -xmap <silent> <TAB> <Plug>(coc-range-select) +"nmap <silent> <TAB> <Plug>(coc-range-select) +"xmap <silent> <TAB> <Plug>(coc-range-select) " Add `:Format` command to format current buffer. command! -nargs=0 Format :call CocAction('format') |