aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/options.lua
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@cepl.eu>2021-10-17 16:37:29 +0200
committerMatěj Cepl <mcepl@cepl.eu>2021-11-06 14:24:46 +0100
commit2dc0af3a4ff16d311169ce2ecd120dd05778039c (patch)
treed261dc8ace960132956cf2bcaf9f2104a212511a /src/nvim/options.lua
parentb092171e7c632a2a6c8841056302ae281d993168 (diff)
downloadrneovim-2dc0af3a4ff16d311169ce2ecd120dd05778039c.tar.gz
rneovim-2dc0af3a4ff16d311169ce2ecd120dd05778039c.tar.bz2
rneovim-2dc0af3a4ff16d311169ce2ecd120dd05778039c.zip
vim-patch:8.2.3528: 'thesaurus' and 'thesaurusfunc' do not have the same scope
Problem: 'thesaurus' and 'thesaurusfunc' do not have the same scope. Solution: Make 'thesaurusfunc' global-local. https://github.com/vim/vim/commit/f4d8b76d304dabc39c06d2344cd4c7b28484811b
Diffstat (limited to 'src/nvim/options.lua')
-rw-r--r--src/nvim/options.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/options.lua b/src/nvim/options.lua
index a4a80a754c..71208dfc68 100644
--- a/src/nvim/options.lua
+++ b/src/nvim/options.lua
@@ -2538,10 +2538,10 @@ return {
{
full_name='thesaurusfunc', abbreviation='tsrfu',
short_desc=N_("function used for thesaurus completion"),
- type='string', scope={'buffer'},
+ type='string', scope={'global', 'buffer'},
secure=true,
alloced=true,
- varname='p_thsfu',
+ varname='p_tsrfu',
defaults={if_true=""}
},
{