From b6edfc81f9339a2effd86bc7056609e556a4c7ff Mon Sep 17 00:00:00 2001 From: Jeremy Kaplan Date: Fri, 20 Mar 2020 23:35:13 -0700 Subject: [PATCH] nvim: Indent CSS with 2 spaces --- neovim/init.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/neovim/init.vim b/neovim/init.vim index 5dcc885..74b4a47 100644 --- a/neovim/init.vim +++ b/neovim/init.vim @@ -262,6 +262,7 @@ command NoCrosshair :set virtualedit= nocursorcolumn let g:AutoPairsShortcutToggle = '' +autocmd FileType css 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