nvim: Set two-space JS indent
This commit is contained in:
parent
2fdf879145
commit
de247d4312
1 changed files with 4 additions and 1 deletions
|
|
@ -322,4 +322,7 @@ command NoCrosshair :set virtualedit= nocursorcolumn
|
|||
|
||||
let g:AutoPairsShortcutToggle = ''
|
||||
|
||||
autocmd FileType yaml setlocal ts=2 sts=2 sw=2 expandtab
|
||||
autocmd FileType javascript.jsx setlocal ts=2 sts=2 sw=2 expandtab
|
||||
autocmd FileType javascript setlocal ts=2 sts=2 sw=2 expandtab
|
||||
autocmd FileType json setlocal ts=2 sts=2 sw=2 expandtab
|
||||
autocmd FileType yaml setlocal ts=2 sts=2 sw=2 expandtab
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue