mirror of
https://github.com/jdhao/nvim-config.git
synced 2025-06-08 14:14:33 +02:00
commit
3aae07df56
8
after/ftplugin/javascript.vim
Normal file
8
after/ftplugin/javascript.vim
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
" Disable inserting comment leader after hitting o or O or <Enter>
|
||||||
|
set formatoptions-=o
|
||||||
|
set formatoptions-=r
|
||||||
|
|
||||||
|
set tabstop=2 " number of visual spaces per TAB
|
||||||
|
set softtabstop=2 " number of spaces in tab when editing
|
||||||
|
set shiftwidth=2 " number of spaces to use for autoindent
|
||||||
|
set expandtab " expand tab to spaces so that tabs are spaces
|
||||||
Loading…
x
Reference in New Issue
Block a user