diff --git a/home/.config/nvim/lua/plugins.d/coc.vim b/home/.config/nvim/lua/plugins.d/coc.vim index 752a957..d8171ce 100644 --- a/home/.config/nvim/lua/plugins.d/coc.vim +++ b/home/.config/nvim/lua/plugins.d/coc.vim @@ -7,6 +7,7 @@ " this is open to pull requests Plug 'neoclide/coc.nvim', {'branch': 'release'} +Plug 'antoinemadec/coc-fzf' let g:coc_global_extensions = [ \ 'coc-pyright', 'coc-json', 'coc-git', 'coc-html', 'coc-css', @@ -15,6 +16,8 @@ let g:coc_global_extensions = [ \ 'coc-lua' \ ] +nmap l :CocFzfList + " Use tab for trigger completion with characters ahead and navigate. " Use command ':verbose imap ' to make sure tab is not mapped by other plugin. inoremap @@ -63,7 +66,7 @@ nmap rn (coc-rename) xmap f (coc-format-selected) nmap f (coc-format-selected) -augroup mygroup +augroup CocGroup autocmd! " Setup formatexpr specified filetype(s). autocmd FileType typescript,json setl formatexpr=CocAction('formatSelected')