diff options
author | InigoGutierrez <inigogf.95@gmail.com> | 2020-05-01 22:42:19 +0200 |
---|---|---|
committer | InigoGutierrez <inigogf.95@gmail.com> | 2020-05-01 22:42:19 +0200 |
commit | 8e007a640662853742df3e1155b81f3397813f62 (patch) | |
tree | 7b50df4c31b8432bb0daab02b9159b9365198b62 /files/vim/ftplugin | |
parent | a485761cf21a485141c00828cd147b5d1a3468fa (diff) | |
download | configs-8e007a640662853742df3e1155b81f3397813f62.tar.gz configs-8e007a640662853742df3e1155b81f3397813f62.zip |
Changed spaces for CSS indentation to 2 in vim.
Diffstat (limited to 'files/vim/ftplugin')
-rw-r--r-- | files/vim/ftplugin/css/css.vim | 5 |
1 files 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 <buffer> <leader>C :sp ~/.vim/ftplugin/css/css.vim<CR> nnoremap <buffer> <leader>e :Errors<CR> nnoremap <buffer> <leader>s vi{!sort<CR> + |