Closed jueshebe closed 3 months ago
Hello, it worked for me:
command = { "dict", "${label}", "-over" },
You have to install wordnet. That's why I didn't enable it by default.
*cmp-dictionary-option-document*
document ~
table (default: {
enable = false,
command = {},
})
|vim.system()| or plenary.nvim is required.
https://github.com/nvim-lua/plenary.nvim
If enabled, activate document using external command.
The `${label}` in the command will be replaced by the item label.
For example, to use wordnet to display a word description, set the
following.
https://wordnet.princeton.edu/
>lua
{
enable = true,
command = { "wn", "${label}", "-over" },
}
<
Hi, I have been working with this Source successfully, but after an update with PlugUpdate, I have encountered the following error:
Full Log
I'm using Nvim v0.9.1 and this is how I call the source when setting cmp.
I don't understand quite well the error, but it seems that I don't have the binary 'wn'. The error occurs only when I select a previous or next element from the suggestions.
Thanks for your time