Преглед изворни кода

vim: set 2-space indent for CSS/YAML

Taddeus Kroes пре 8 година
родитељ
комит
e78bbe5c64
1 измењених фајлова са 3 додато и 0 уклоњено
  1. 3 0
      vimrc

+ 3 - 0
vimrc

@@ -167,6 +167,9 @@ highlight SpellBad guisp=#fcaf3e cterm=underline
 " Auto enable spellchecking for text-based files
 autocmd FileType tex,markdown setlocal spell nonu
 
+" 2 spaces for tabs in CSS/YAML
+autocmd FileType css,yaml set sw=2
+
 " -----------------------
 " Additional local config
 " -----------------------