From b6a7873017c30960e29d971c25ba5aa34a72f949 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Fri, 17 May 2019 00:01:00 +1200 Subject: Restore 'ttymouse' option existence test The option does not exist in NeoVim. --- vim/vimrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3