Added javascript config
This commit is contained in:
parent
6ea51f93a5
commit
5b94fb0c26
2 changed files with 2 additions and 1 deletions
|
@ -1,3 +1,3 @@
|
||||||
{
|
{
|
||||||
"coc.preferences.formatOnSaveFiletypes": ["cpp", "markdown", "python", "rust", "toml", "yaml"]
|
"coc.preferences.formatOnSaveFiletypes": ["cpp", "javascript", "typescript", "typescriptreact", "markdown", "python", "rust", "toml", "yaml"]
|
||||||
}
|
}
|
||||||
|
|
|
@ -173,6 +173,7 @@ nnoremap <silent> K :call CocAction('doHover')<CR>
|
||||||
|
|
||||||
nmap <silent> gd <Plug>(coc-definition)
|
nmap <silent> gd <Plug>(coc-definition)
|
||||||
nmap <silent> gr <Plug>(coc-references)
|
nmap <silent> gr <Plug>(coc-references)
|
||||||
|
nmap <silent> <leader>rn <Plug>(coc-rename)
|
||||||
|
|
||||||
" use <tab> for trigger completion and navigate to the next complete item
|
" use <tab> for trigger completion and navigate to the next complete item
|
||||||
function! s:check_back_space() abort
|
function! s:check_back_space() abort
|
||||||
|
|
Loading…
Reference in a new issue