diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-08-07 14:58:47 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-08-07 14:58:47 +1200 |
commit | 69209e46e1c75480b43c0a41a974bebb8a520e81 (patch) | |
tree | 510afbea381dbff3d0d4558bbe25bb0fcb681f20 /vim | |
parent | Add e() and v() wrappers (diff) | |
download | dotfiles-69209e46e1c75480b43c0a41a974bebb8a520e81.tar.gz dotfiles-69209e46e1c75480b43c0a41a974bebb8a520e81.zip |
Check for 'cursorline' existence
Diffstat (limited to 'vim')
-rw-r--r-- | vim/vimrc | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -62,8 +62,10 @@ set comments= set confirm " Only turn on 'cursorline' if my colorscheme loaded -if exists('g:colors_name') && g:colors_name ==# 'sahara' - set cursorline +if exists('+cursorline') + if exists('g:colors_name') && g:colors_name ==# 'sahara' + set cursorline + endif endif " Try to keep swapfiles in one system-appropriate dir |