mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
[nvim] Fix some coc complaints
This commit is contained in:
parent
75d79fc13c
commit
d2f964c742
1 changed files with 3 additions and 0 deletions
|
@ -6,6 +6,9 @@ nnoremap <C-t> :NERDTreeToggle<CR>
|
|||
return !col || getline('.')[col - 1] =~ '\s'
|
||||
endfunction
|
||||
|
||||
nmap <silent> <F3> <Plug>(coc-codeaction-line)
|
||||
xmap <silent> <F3> <Plug>(coc-codeaction-selected)
|
||||
|
||||
inoremap <expr> <cr> coc#pum#visible() ? coc#_select_confirm() : "\<CR>"
|
||||
|
||||
inoremap <silent><expr> <TAB>
|
||||
|
|
Loading…
Reference in a new issue