diff --git a/neovim/init.vim b/neovim/init.vim index 9034b8a..ac836c9 100644 --- a/neovim/init.vim +++ b/neovim/init.vim @@ -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