1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-10-10 03:21:16 +02:00

nvim: added js support

This commit is contained in:
TiynGER
2021-06-20 13:44:32 +02:00
parent aab1727052
commit 32c4f82c30
2 changed files with 4 additions and 1 deletions

View File

@@ -127,6 +127,7 @@ let g:coc_global_extensions = [
\ 'coc-markdownlint',
\ 'coc-pyright',
\ 'coc-sh',
\ 'coc-tsserver',
\ 'coc-vimtex',
\ ]
@@ -333,6 +334,7 @@ autocmd BufRead,BufNewFile *.nim set filetype=nim
" formatting options
autocmd FileType java setlocal shiftwidth=2 softtabstop=2
autocmd FileType javascript setlocal shiftwidth=2 softtabstop=2
autocmd FileType markdown setlocal shiftwidth=2 softtabstop=2
" formatting programs