From 0eb313447b77180e1aa08c164cc74863f5af6e08 Mon Sep 17 00:00:00 2001 From: Ekaitz Zárraga Date: Thu, 21 Jul 2016 14:33:43 +0200 Subject: foldmethod indent on html --- vim/.vim/ftplugin/html.vim | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'vim/.vim/ftplugin') 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 -- cgit v1.2.3