diff options
author | matveyt <35012635+matveyt@users.noreply.github.com> | 2022-07-17 14:14:04 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-17 04:14:04 -0700 |
commit | eb9b93b5e025386ec9431c9d35a4a073d6946d1d (patch) | |
tree | 4b371f7cf93aab052770590b9b995f94c8662fbd /src/nvim/options.lua | |
parent | aae11865e1f74678a6415703ce1e076d195a2c26 (diff) | |
download | rneovim-eb9b93b5e025386ec9431c9d35a4a073d6946d1d.tar.gz rneovim-eb9b93b5e025386ec9431c9d35a4a073d6946d1d.tar.bz2 rneovim-eb9b93b5e025386ec9431c9d35a4a073d6946d1d.zip |
feat(defaults): mouse=nvi #19290
Problem:
Since right-click can now show a popup menu, we can provide messaging to
guide users who expect 'mouse' to be disabled by default. So 'mouse' can
now be enabled by default.
Solution:
Do it.
Closes #15521
Diffstat (limited to 'src/nvim/options.lua')
-rw-r--r-- | src/nvim/options.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/options.lua b/src/nvim/options.lua index addc08d560..9e4a6a084c 100644 --- a/src/nvim/options.lua +++ b/src/nvim/options.lua @@ -1597,7 +1597,7 @@ return { short_desc=N_("the use of mouse clicks"), type='string', list='flags', scope={'global'}, varname='p_mouse', - defaults={if_true=""} + defaults={if_true="nvi"} }, { full_name='mousefocus', abbreviation='mousef', @@ -1619,7 +1619,7 @@ return { short_desc=N_("changes meaning of mouse buttons"), type='string', scope={'global'}, varname='p_mousem', - defaults={if_true="extend"} + defaults={if_true="popup_setpos"} }, { full_name='mousescroll', |