aboutsummaryrefslogtreecommitdiff
path: root/vim/vimrc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-12-18 15:13:23 +1300
committerTom Ryder <tom@sanctum.geek.nz>2019-12-18 15:13:23 +1300
commite91e5a2234b27900737e5b0a15d12b18e57c57ae (patch)
tree8ba460be5e42951c9e41f22de36b2657e6725fee /vim/vimrc
parentMerge branch 'release/v8.4.0' into develop (diff)
downloaddotfiles-e91e5a2234b27900737e5b0a15d12b18e57c57ae.tar.gz
dotfiles-e91e5a2234b27900737e5b0a15d12b18e57c57ae.zip
Simplify 'cursorline' switching
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 3eb1dbbe..9b078c17 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 *
- \ call colorscheme#UpdateCursorline(g:colors_name, ['sahara'])
+ \ let &cursorline = 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