Ver código fonte

vim: set 2-space indent for CSS/YAML

Taddeus Kroes 8 anos atrás
pai
commit
e78bbe5c64
1 arquivos alterados com 3 adições e 0 exclusões
  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
 " -----------------------