aboutsummaryrefslogtreecommitdiff
path: root/vim/vimrc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-12-18 15:28:19 +1300
committerTom Ryder <tom@sanctum.geek.nz>2019-12-18 16:00:51 +1300
commit29dff73acb39e9ba52c80103c8f7f6c4e7c7e000 (patch)
tree1ca74df15d137687ae0379b8992c6096e565bd56 /vim/vimrc
parentSpecify some interdependencies in Vim config (diff)
downloaddotfiles-29dff73acb39e9ba52c80103c8f7f6c4e7c7e000.tar.gz
dotfiles-29dff73acb39e9ba52c80103c8f7f6c4e7c7e000.zip
Set 'cursorline' for all windows on colors change
Diffstat (limited to 'vim/vimrc')
-rw-r--r--vim/vimrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 9b078c17..3eb1dbbe 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -887,7 +887,7 @@ endif
" <https://github.com/vim/vim/releases/tag/v7.4.108>
"
autocmd vimrc ColorScheme *
- \ let &cursorline = g:colors_name ==# 'sahara'
+ \ call colorscheme#UpdateCursorline(g:colors_name, ['sahara'])
" Use 'dark' as my default value for 'background', in the absence of an
" environment variable COLORFGBG or a response in v:termrbgresp that would set