From 8e007a640662853742df3e1155b81f3397813f62 Mon Sep 17 00:00:00 2001 From: InigoGutierrez Date: Fri, 1 May 2020 22:42:19 +0200 Subject: Changed spaces for CSS indentation to 2 in vim. --- files/vim/ftplugin/css/css.vim | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/files/vim/ftplugin/css/css.vim b/files/vim/ftplugin/css/css.vim index e2a4057..695243c 100644 --- a/files/vim/ftplugin/css/css.vim +++ b/files/vim/ftplugin/css/css.vim @@ -8,8 +8,8 @@ setlocal textwidth=80 call matchadd('ColorColumn', '\%81v', 100) -" Tabs are expanded to 4 spaces -setlocal tabstop=4 shiftwidth=4 noexpandtab +" Tabs are expanded to 2 spaces +setlocal tabstop=2 shiftwidth=2 expandtab " Don't show existing tabs setlocal nolist @@ -17,3 +17,4 @@ setlocal nolist nnoremap C :sp ~/.vim/ftplugin/css/css.vim nnoremap e :Errors nnoremap s vi{!sort + -- cgit v1.2.1