uga-rosa / cmp-dictionary

A dictionary completion source for nvim-cmp
MIT License
236 stars 16 forks source link

iskeyword #28

Closed martineausimon closed 2 years ago

martineausimon commented 2 years ago

Hi, is there a way to use iskeyword fonction ?

I have a dictionary with words like \word and another, and it seems impossible to make the iskeyword function working. I have already try that in my ftplugin :

vim.cmd[[set iskeyword+=\]]

and

vim.opt.iskeyword:append([[\]])

Is there a solution ? Thanks !

Thanks !

uga-rosa commented 2 years ago

iskeyword is now referenced in the completion.

martineausimon commented 2 years ago

Thank you ! It works perfect !