summaryrefslogtreecommitdiff
path: root/lib/vimrc
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2020-12-10 08:38:24 -0500
committerBen Sima <ben@bsima.me>2020-12-10 08:38:44 -0500
commitcd2167f2a7f0df85f922b9c39eeb974fe1b53eee (patch)
tree4b3e6945caaff78800780099f9233ef0ae156945 /lib/vimrc
parentbf563211fb3ed6ad1bedf038b81f9671a734afd7 (diff)
make the vim 80 column line not so abrasive
Diffstat (limited to 'lib/vimrc')
-rw-r--r--lib/vimrc5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/vimrc b/lib/vimrc
index 53558bf..84720a7 100644
--- a/lib/vimrc
+++ b/lib/vimrc
@@ -75,9 +75,6 @@ syntax match Warning display "\s\+$"
syntax match Warning display " \+\t"
syntax match Warning display "\t\+ "
-" mark columns 80 and 81 in red for long lines...
-match ErrorMsg /\%80v.\%81v./
-
""" Easily find cursor with crosshair (,c)
":hi CursorLine cterm=NONE term=reverse ctermbg=7 guibg=Grey90
":hi CursorColumn cterm=NONE term=reverse ctermbg=7 guibg=Grey90
@@ -113,6 +110,7 @@ endfunc
"
let s:white = ['White', 15]
let s:black = ['#0e1111', 16]
+let s:dblack = ['#111111', 1]
let s:bgray = ['#181818', 233]
let s:lgray = ['LightGray', 255]
let s:cgray = ['#737373', 243]
@@ -174,6 +172,7 @@ call s:hi('lCursor', s:black, s:sblue)
call s:hi('CursorLine', s:black, s:sblue, s:none)
call s:hi('CursorLineNr', s:white, s:sblue, s:bold)
call s:hi('CursorColumn', s:black, s:sblue, s:none)
+call s:hi('ColorColumn', s:lgray, s:dblack, s:none)
call s:hi('Search', s:black, s:purple)
call s:hi('Visual', s:black, s:green)
call s:hi('ErrorMsg', s:white, s:red)