aboutsummaryrefslogtreecommitdiff
path: root/vim/after/indent/html.vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim/after/indent/html.vim')
-rw-r--r--vim/after/indent/html.vim12
1 files changed, 3 insertions, 9 deletions
diff --git a/vim/after/indent/html.vim b/vim/after/indent/html.vim
index 72c92d21..fb7f4127 100644
--- a/vim/after/indent/html.vim
+++ b/vim/after/indent/html.vim
@@ -1,15 +1,9 @@
+" Use four spaces for indentation
+runtime macros/indent/spaces/4.vim
+
" Clear away the flag we set to indent after paragraphs
unlet html_indent_inctags
" Don't re-indent lines on right-angle-bracket or enter
setlocal indentkeys-=<>>,<Return>
let b:undo_ftplugin .= '|setlocal indentkeys<'
-
-" Use four spaces for indentation
-setlocal expandtab
-setlocal shiftwidth=4
-let b:undo_ftplugin .= '|setlocal expandtab< shiftwidth<'
-if &l:softtabstop != -1
- let &l:softtabstop = &l:shiftwidth
- let b:undo_ftplugin .= '|setlocal softtabstop<'
-endif