aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-05-17 00:01:00 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-05-17 00:01:00 +1200
commitb6a7873017c30960e29d971c25ba5aa34a72f949 (patch)
treeeaf0b45c98f1f43d2e800e432d2a4f55137df9c2
parentMove filetype and syntax logic to end of .vimrc (diff)
downloaddotfiles-b6a7873017c30960e29d971c25ba5aa34a72f949.tar.gz
dotfiles-b6a7873017c30960e29d971c25ba5aa34a72f949.zip
Restore 'ttymouse' option existence test
The option does not exist in NeoVim.
-rw-r--r--vim/vimrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 18640b81..5e3508f0 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -175,7 +175,7 @@ set splitright " Right of the current window, not left
" No terminal mouse, even if we could
" The manual says to set 't_RV', but I don't like that
-if &ttymouse !=# ''
+if exists('+ttymouse') && &ttymouse !=# ''
set ttymouse=
endif