vim-lexical
vim-lexical copied to clipboard
support thesaurus completion with multi-word entries
i get completions for synonyms but they are split by whitespace so that for example a line
foo;foo bar;bar;baz
would produce these completions for foo
: ['foo', 'bar', 'bar', 'baz']
.
It would be nice to be able to define a separator string which would be used to split the entries.
That'd be a handy feature, but offhand I'm not sure how to support it.
Lexical is currently relying on Vim's native thesaurus completion and the format of the thesaurus file.
If you can come up with a format for the thesaurus file which would support this (possibly in conjunction with Vim config changes) we could look at transforming the thesaurus to support this.