thesaurus_query.vim icon indicating copy to clipboard operation
thesaurus_query.vim copied to clipboard

Provide completion function for emerging 'thesaurusfunc'

Open mcepl opened this issue 4 years ago • 0 comments

I have filed https://github.com/vim/vim/issues/8950 and awesome @yegappan suggested POC implementation in https://github.com/yegappan/vim/commit/949c4f25b5d97c7aa71952f917b7d2c3ac604778 Now, in order to test this, I would need a function following API of https://vimhelp.org/insert.txt.html#complete-functions generating a list of synonyms. Would it be possible for your plugin to add such function, which could be used as a value of 'thesaurusfunc' (same API as for 'completefunc' and 'omnifunc').

I hope it would be also help with your issue #7.

Cc: @reedes and @alem0lars from https://github.com/preservim/vim-lexical

Cross-posted with https://github.com/preservim/vim-lexical/issues/19

mcepl avatar Oct 05 '21 18:10 mcepl