aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCody Hiar <codyfh@gmail.com>2017-03-17 14:47:27 -0600
committerCody Hiar <codyfh@gmail.com>2017-03-17 14:47:27 -0600
commitbda808d983e3351cdca005eb3b06e8ab1ea00219 (patch)
treec4567cb94c8bf94f806f330a15ef55bfa850afae
parent65480dc2e044a0ce6236885a24500d656bccc01f (diff)
Addng color matching to long lines
-rw-r--r--plugin/vim-options.vim5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugin/vim-options.vim b/plugin/vim-options.vim
index 3411dcd..be86b8f 100644
--- a/plugin/vim-options.vim
+++ b/plugin/vim-options.vim
@@ -88,6 +88,11 @@ hi User3 ctermfg=229 ctermbg=108
hi User2 ctermfg=229 ctermbg=66
" Change gutter color
highlight SignColumn cterm=NONE ctermfg=0 ctermbg=8
+" Highlight long lines at 80 mark
+highlight ColorColumn ctermbg=cyan
+call matchadd('ColorColumn', '\%81v', 100)
+" Highlight super long lines
+call matchadd('Error', '\%121v', 100)
"-----------------------------------------------------------------------------------------------------------------------