summaryrefslogtreecommitdiff
path: root/nvim
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 /nvim
parent291a09d74553bec4bd98e25b97b0a3307871f559 (diff)
foldmethod indent on html
Diffstat (limited to 'nvim')
-rw-r--r--nvim/nvim/ftplugin/html.vim14
-rw-r--r--nvim/nvim/shada/main.shadabin54238 -> 0 bytes
2 files changed, 12 insertions, 2 deletions
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
--- a/nvim/nvim/shada/main.shada
+++ /dev/null
Binary files differ