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 --- nvim/nvim/ftplugin/html.vim | 14 ++++++++++++-- nvim/nvim/shada/main.shada | Bin 54238 -> 0 bytes 2 files changed, 12 insertions(+), 2 deletions(-) delete mode 100644 nvim/nvim/shada/main.shada (limited to 'nvim') diff --git a/nvim/nvim/ftplugin/html.vim b/nvim/nvim/ftplugin/html.vim index 6a56808..fb854a7 100644 --- a/nvim/nvim/ftplugin/html.vim +++ b/nvim/nvim/ftplugin/html.vim @@ -1,2 +1,12 @@ -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 +setlocal formatoptions+=t + +" Highlight where the lines are more than 80 characters wide +setlocal colorcolumn=80 +highlight ColorColumn ctermbg=LightGreen + +setlocal foldmethod=indent diff --git a/nvim/nvim/shada/main.shada b/nvim/nvim/shada/main.shada deleted file mode 100644 index 5e5cf2d..0000000 Binary files a/nvim/nvim/shada/main.shada and /dev/null differ -- cgit v1.2.3