diff options
author | Ekaitz Zárraga <ekaitz.zarraga@gmail.com> | 2016-01-31 11:23:19 +0100 |
---|---|---|
committer | Ekaitz Zárraga <ekaitz.zarraga@gmail.com> | 2016-01-31 11:23:19 +0100 |
commit | 6bfff1d63f5637bfe0cd2db84f40019d8b0cab03 (patch) | |
tree | 4d5c6510d990b882c78ad05c7539fe7310f8b800 /vim/.vim | |
parent | 4dcd1c5f8df1b630ca6fd9d7c302cc4db7f032a3 (diff) |
wrap html
Diffstat (limited to 'vim/.vim')
-rw-r--r-- | vim/.vim/ftplugin/html.vim | 9 |
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 + |