1
0
Fork 0

nvim: Set two-space JS indent

This commit is contained in:
Jeremy Kaplan 2019-08-28 17:03:45 -07:00
commit de247d4312

View file

@ -322,4 +322,7 @@ command NoCrosshair :set virtualedit= nocursorcolumn
let g:AutoPairsShortcutToggle = '' 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