Added javascript config

main
mandlm 2021-01-11 13:18:22 +01:00
parent 6ea51f93a5
commit 5b94fb0c26
Signed by: mandlm
GPG Key ID: 4AA25D647AA54CC7
2 changed files with 2 additions and 1 deletions

View File

@ -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"]
}

View File

@ -173,6 +173,7 @@ nnoremap <silent> K :call CocAction('doHover')<CR>
nmap <silent> gd <Plug>(coc-definition)
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
function! s:check_back_space() abort