aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/options.lua
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@cepl.eu>2021-10-16 18:40:57 +0200
committerMatěj Cepl <mcepl@cepl.eu>2021-10-23 22:30:50 +0200
commitcbec765915a8a76e86ac79dde8eeae663b019882 (patch)
tree9d626c255ef9e827d3169672a8127995e8289da1 /src/nvim/options.lua
parentaa4f0879e35c43b186cf51c50f28847dd2df256c (diff)
downloadrneovim-cbec765915a8a76e86ac79dde8eeae663b019882.tar.gz
rneovim-cbec765915a8a76e86ac79dde8eeae663b019882.tar.bz2
rneovim-cbec765915a8a76e86ac79dde8eeae663b019882.zip
vim-patch:8.2.3520: cannot define a function for thesaurus completion
Problem: Cannot define a function for thesaurus completion. Solution: Add 'thesaurusfunc'. (Yegappan Lakshmanan, closes vim/vim#8987, closes 8950) https://github.com/vim/vim/commit/160e994d768d03a3c826b58115cde94df8fce607
Diffstat (limited to 'src/nvim/options.lua')
-rw-r--r--src/nvim/options.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/nvim/options.lua b/src/nvim/options.lua
index 8b9cdefd57..a4a80a754c 100644
--- a/src/nvim/options.lua
+++ b/src/nvim/options.lua
@@ -2536,6 +2536,15 @@ return {
defaults={if_true=""}
},
{
+ full_name='thesaurusfunc', abbreviation='tsrfu',
+ short_desc=N_("function used for thesaurus completion"),
+ type='string', scope={'buffer'},
+ secure=true,
+ alloced=true,
+ varname='p_thsfu',
+ defaults={if_true=""}
+ },
+ {
full_name='tildeop', abbreviation='top',
short_desc=N_("tilde command \"~\" behaves like an operator"),
type='bool', scope={'global'},