Add coc plugins to Neovim && add coc enter

This commit is contained in:
Devon Tingley 2021-10-21 15:07:07 -04:00
parent f7a7360003
commit ab82404011

View file

@ -16,3 +16,18 @@ set scrolloff=10
tnoremap <Esc> <C-\><C-n>
command TMK w | call system("latexmk -pdf && latexmk -c")
inoremap <silent><expr> <cr> pumvisible() ? coc#_select_confirm()
\: "\<C-g>u\<CR>\<c-r>=coc#on_enter()\<CR>"
" coc.nvim Plugins
let g:coc_global_extensions = [
\'coc-pairs',
\'coc-json',
\'coc-pyright',
\'coc-go',
\'coc-rust-analyzer',
\'coc-clangd',
\'coc-html',
\'coc-css',
\'coc-tsserver'
\]