aboutsummaryrefslogtreecommitdiff
path: root/files/vim
diff options
context:
space:
mode:
Diffstat (limited to 'files/vim')
-rw-r--r--files/vim/ftplugin/css/css.vim5
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>
+