diff options
author | Josh Rahm <joshuarahm@gmail.com> | 2023-11-30 10:59:52 -0700 |
---|---|---|
committer | Josh Rahm <joshuarahm@gmail.com> | 2023-11-30 10:59:52 -0700 |
commit | 1c027cb7fecc7d9ff817cecd24202b639b8717c3 (patch) | |
tree | 57f4b869eda2773598b628b96f8b2851797b8a2e | |
parent | 6a037915bb9cc65e6036845fcba52993a211094d (diff) | |
download | config.vim-1c027cb7fecc7d9ff817cecd24202b639b8717c3.tar.gz config.vim-1c027cb7fecc7d9ff817cecd24202b639b8717c3.tar.bz2 config.vim-1c027cb7fecc7d9ff817cecd24202b639b8717c3.zip |
Fix how the colorcolumn works
-rw-r--r-- | init.vim | 12 |
1 files changed, 3 insertions, 9 deletions
@@ -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() |