summaryrefslogtreecommitdiff
path: root/vim/.vim/ftplugin/html.vim
diff options
context:
space:
mode:
authorEkaitz Zárraga <ekaitz.zarraga@gmail.com>2016-07-21 14:33:43 +0200
committerEkaitz Zárraga <ekaitz.zarraga@gmail.com>2016-07-21 14:33:43 +0200
commit0eb313447b77180e1aa08c164cc74863f5af6e08 (patch)
treef698a71b690a1f32607694d55cf26b82fb9b2f31 /vim/.vim/ftplugin/html.vim
parent291a09d74553bec4bd98e25b97b0a3307871f559 (diff)
foldmethod indent on html
Diffstat (limited to 'vim/.vim/ftplugin/html.vim')
-rw-r--r--vim/.vim/ftplugin/html.vim5
1 files changed, 3 insertions, 2 deletions
diff --git a/vim/.vim/ftplugin/html.vim b/vim/.vim/ftplugin/html.vim
index fc0d53a..fb854a7 100644
--- a/vim/.vim/ftplugin/html.vim
+++ b/vim/.vim/ftplugin/html.vim
@@ -1,5 +1,5 @@
-set tabstop=2 softtabstop=0 expandtab shiftwidth=2
-set autoindent
+setlocal tabstop=2 softtabstop=0 expandtab shiftwidth=2
+setlocal autoindent
" Test some wrapping on the html
setlocal textwidth=79
@@ -9,3 +9,4 @@ setlocal formatoptions+=t
setlocal colorcolumn=80
highlight ColorColumn ctermbg=LightGreen
+setlocal foldmethod=indent