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

support thesaurus completion with multi-word entries

Open repomaa opened this issue 8 years ago • 1 comments

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.

repomaa avatar Mar 13 '16 13:03 repomaa

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.

reedes avatar Mar 15 '16 19:03 reedes