From 1c027cb7fecc7d9ff817cecd24202b639b8717c3 Mon Sep 17 00:00:00 2001 From: Josh Rahm Date: Thu, 30 Nov 2023 10:59:52 -0700 Subject: Fix how the colorcolumn works --- init.vim | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'init.vim') diff --git a/init.vim b/init.vim index 7affbc5..eec97d3 100644 --- a/init.vim +++ b/init.vim @@ -157,15 +157,9 @@ if has('rneovim') hi MyRedColorColumn guifg=#5a1a1a guibg=none gui=None endfunction call HighlightColorColumns() - " This is my patched version of neovim. - if has('fancycolorcol') - " Grey color column right after text width is grey and in the background and - " a red one after the text width which is red and in the foreground. - set colorcolumn=+1/│/MyColorColumn/b,+20/│/MyRedColorColumn/f - else - hi! link ColorColumn MyColorColumn - set fillchars+=colorcol:│ - endif + " Grey color column right after text width is grey and in the background and + " a red one after the text width which is red and in the foreground. + set colorcolumn=+1/│/MyColorColumn/b,+20/│/MyRedColorColumn/f augroup InitVim au ColorScheme * call HighlightColorColumns() -- cgit