Add coc plugins to Neovim && add coc enter
This commit is contained in:
parent
f7a7360003
commit
ab82404011
1 changed files with 15 additions and 0 deletions
|
@ -16,3 +16,18 @@ set scrolloff=10
|
||||||
tnoremap <Esc> <C-\><C-n>
|
tnoremap <Esc> <C-\><C-n>
|
||||||
command TMK w | call system("latexmk -pdf && latexmk -c")
|
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'
|
||||||
|
\]
|
||||||
|
|
Loading…
Reference in a new issue