You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have vale installed on my machine and the config are on $XDG_CONFIG_HOME, since vale only looks for vale.ini under $HOME the usual way that run vale is for example vale sync --config='$XDG_CONFIG_HOME/vale/vale.ini'.
So I am currently trying to run vale-ls and say that the way to pass the config location is through initializationOptions.configPath and I am doing so (example bellow with neovim lspconfig)
I am still waiting for a new relase of vale-ls, because
I am still waiting for a vale-ls release, because the current one doesn't contain the fix for the run command.
errata-ai/vale-ls#4
I have
vale
installed on my machine and the config are on$XDG_CONFIG_HOME
, since vale only looks forvale.ini
under$HOME
the usual way that run vale is for examplevale sync --config='$XDG_CONFIG_HOME/vale/vale.ini'
.So I am currently trying to run vale-ls and say that the way to pass the config location is through
initializationOptions.configPath
and I am doing so (example bellow with neovim lspconfig)I also tried to pass a path (
vim.env.XDG_CONFIG_HOME .. '/vale/
) on the configPath, but I keep getting the following error (log from nvim):I believe the error is coming form a couple a functions that runs the vale command without taking the
--config
into consideration.vale-ls/src/vale.rs
Lines 167 to 178 in 5b4f792
vale-ls/src/vale.rs
Line 183 in 5b4f792
Edit: updated hypothesis
The text was updated successfully, but these errors were encountered: