vim-lexical icon indicating copy to clipboard operation
vim-lexical copied to clipboard

Provide completion function for emerging 'thesaurusfunc'

Open mcepl opened this issue 2 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 #9.

Cc: @Ron89 from https://github.com/Ron89/thesaurus_query.vim

Cross-posted with https://github.com/Ron89/thesaurus_query.vim/issues/50

mcepl avatar Oct 05 '21 18:10 mcepl