aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/options.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-07-24 11:20:23 +0800
committerzeertzjq <zeertzjq@outlook.com>2022-09-04 21:18:08 +0800
commit00b49dd8dd638c5fe1b664273aea5c843d69f36d (patch)
tree7557491de797fea6ed4534a47469021cfe9b25b5 /src/nvim/options.lua
parent900a7741821ff8dfb0634290a343e501955e9a1a (diff)
downloadrneovim-00b49dd8dd638c5fe1b664273aea5c843d69f36d.tar.gz
rneovim-00b49dd8dd638c5fe1b664273aea5c843d69f36d.tar.bz2
rneovim-00b49dd8dd638c5fe1b664273aea5c843d69f36d.zip
vim-patch:8.2.4674: cannot force getting MouseMove events
Problem: Cannot force getting MouseMove events. Solution: Add the 'mousemoveevent' option with implementaiton for the GUI. (Ernie Rael, closes vim/vim#10044) https://github.com/vim/vim/commit/c4cb544cd5beaa864b3893e4b8d0085393c7dbce This only ports the docs and the option variable. The following commits will actually implement it as a UI option.
Diffstat (limited to 'src/nvim/options.lua')
-rw-r--r--src/nvim/options.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/nvim/options.lua b/src/nvim/options.lua
index 2f941f5d0c..9f540e6005 100644
--- a/src/nvim/options.lua
+++ b/src/nvim/options.lua
@@ -1622,6 +1622,13 @@ return {
defaults={if_true="popup_setpos"}
},
{
+ full_name='mousemoveevent', abbreviation='mousemev',
+ short_desc=N_("deliver mouse move events to input queue"),
+ type='bool', scope={'global'},
+ varname='p_mousemev',
+ defaults={if_true=false}
+ },
+ {
full_name='mousescroll',
short_desc=N_("amount to scroll by when scrolling with a mouse"),
type='string', list='comma', scope={'global'},