Closed iamcxds closed 9 months ago
Can you try setting the path as path = vim.fn.expand("~/.local/share/ltex")
?
Can you try setting the path as
path = vim.fn.expand("~/.local/share/ltex")
?
This doesn't fix.
And the problem exists with the default path
setting.
It seems like some problem with getting access to the options,
If I manually run reload()
it stops very quickly, but reload({"en-US")
works,
from the code the problem seems to come from load package.loaded.ltex_extra.opts.load_langs
I was able to reproduce it and you have a typo in the settings. It's load_langs
not load_lang
.
In the other hand, I need to rewrite this thing.
Not sure as to why this bug was closed on an open source project. I am experiencing the same problem. Even if OC rewrote the entire plugin, someone could see this issue and make a PR for the old one.
@iamcxds did you find a solution for this? I also noticed that it'll start working again if we reload multiple languages :lua require('ltex_extra').reload({'en-US', 'de-DE'})
.
I tried doing this automatically after the plugin was initialized but it didn't seem to work.
I closed this bug because, as I mention in my last reply, there was a typo in the config. Please, open a new bug saying what branch are you using and post your plugin setup.
right, I opened #62
Describe the bug The initial check and
reload()
doesn't work properly. It can't load my dictionary. The log has only[ltex_extra] [TRACE 16:10:07] ~/.local/share/nvim/lazy/ltex-extra.nvim/lua/lt ex_extra/commands-lsp.lua:79: updateConfigFull
then nothing happens, no error or further step.But it works properly if I make a code action of adding new words.
To Reproduce Steps to reproduce the behavior:
System:
Additional context I used Nvchad to setup .