Closed Joarell closed 1 year ago
I have not been able to reproduce it, but I guessed and fixed it a little. Could you please check if the latest version fixes it?
Thank you! Thank you! Thank you! Thank you for all assistance and prompt reply.
The error message was gone! Have a great day! I wish you the best!
And the filepath is lua pattern. It should be written like this.
local dict = require("cmp_dictionary")
dict.setup({
exact = 3,
-- You do not need to write it if it is the default.
})
dict.switcher({
spelllang = {
en = "~/dotfiles/en.dict",
},
})
cmp.setup({
...
})
Hi! Firstly, I'd like to thank you fort this amazing plugin!
I just have an issue when I open neovim I got this error:
Error executing vim.schedule lua callback: .../packer/start/cmp-dictionary/lua/cmp_dictionary/util.lua:48: attempt to index upvalue 'timer' (a nil value) stack traceback: .../packer/start/cmp-dictionary/lua/cmp_dictionary/util.lua:48: in function '' vim/_editor.lua: in function <vim/_editor.lua:0>
I will appreciate a lot if you could have a look at my settings to figure it out where I made a mistake.