summaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorEkaitz Zárraga <ekaitz.zarraga@fon.com>2016-02-11 14:40:25 +0100
committerEkaitz Zárraga <ekaitz.zarraga@fon.com>2016-02-11 14:40:25 +0100
commitc0dd0555b0ee30ad11cd09ccd88da5abbafc164d (patch)
treece8ca46015579f98ef88ccac9a009ab215379e3d /vim
parentd8e56b80aa8af1cbab32efcd47ace62bc2fb1624 (diff)
parent47a5f9580b38a681de51fb23608e72c61c563ae0 (diff)
Merge branch 'master' of github.com:ekaitz-zarraga/dotfiles
Diffstat (limited to 'vim')
-rw-r--r--vim/.vim/ftplugin/html.vim9
1 files changed, 9 insertions, 0 deletions
diff --git a/vim/.vim/ftplugin/html.vim b/vim/.vim/ftplugin/html.vim
index 6a56808..fc0d53a 100644
--- a/vim/.vim/ftplugin/html.vim
+++ b/vim/.vim/ftplugin/html.vim
@@ -1,2 +1,11 @@
set tabstop=2 softtabstop=0 expandtab shiftwidth=2
set 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
+