summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/common.nix1
-rw-r--r--lib/vimrc5
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/common.nix b/lib/common.nix
index c305c92..0800e52 100644
--- a/lib/common.nix
+++ b/lib/common.nix
@@ -160,6 +160,7 @@ in
vim-sensible
vim-colorschemes
vim-sexp-mappings-for-regular-people
+ # vim-ripgrep # not in nixpkgs :(
rainbow_parentheses
];
extraConfig = builtins.readFile ./vimrc;
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)