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:
@@ -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
|
||||
|
Reference in New Issue
Block a user