Closed r-vdp closed 3 months ago
Hello, I had the same problem. Setting root_dir
like https://github.com/tekumara/typos-lsp/issues/29#issuecomment-1888524584 fixed it.
I set root_dir
as suggested in that comment but the config is still not being applied.
I also see that the config file is actually being opened when the language server starts, but the settings are not actually applied. It does work when running typos directly though.
Thanks for raising this, support for extend-ignore-re
was missing and has now been added!
I have setup typos-lsp like this:
This works great, and using
inotifywait
I can see that the config file is indeed opened when the lsp server starts.The config file looks like this:
When I run
typos --config ~/.config/typos.toml
on my project directory,snd-hda-intel
is ignored as it should, however in neovim it's still shown as a typo.Is typos-lsp somehow not passing the config file to typos?