summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEkaitz Zárraga <ekaitz.zarraga@gmail.com>2016-01-01 14:33:26 +0100
committerEkaitz Zárraga <ekaitz.zarraga@gmail.com>2016-01-01 14:33:26 +0100
commit4dcd1c5f8df1b630ca6fd9d7c302cc4db7f032a3 (patch)
tree50a6ada649dc682166a04b2af5021de2c1f38f72
parenta4217bf8e723ca9658965ccdba67b1802fcd0cb5 (diff)
convert tabs to 2 spaces in HTML and CSS
-rw-r--r--vim/.vim/ftplugin/css.vim2
-rw-r--r--vim/.vim/ftplugin/html.vim2
2 files changed, 3 insertions, 1 deletions
diff --git a/vim/.vim/ftplugin/css.vim b/vim/.vim/ftplugin/css.vim
new file mode 100644
index 0000000..6a56808
--- /dev/null
+++ b/vim/.vim/ftplugin/css.vim
@@ -0,0 +1,2 @@
+set tabstop=2 softtabstop=0 expandtab shiftwidth=2
+set autoindent
diff --git a/vim/.vim/ftplugin/html.vim b/vim/.vim/ftplugin/html.vim
index 12b33db..6a56808 100644
--- a/vim/.vim/ftplugin/html.vim
+++ b/vim/.vim/ftplugin/html.vim
@@ -1,2 +1,2 @@
-set tabstop=2 softtabstop=0 noexpandtab shiftwidth=2
+set tabstop=2 softtabstop=0 expandtab shiftwidth=2
set autoindent