summaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
Diffstat (limited to '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