Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set the variable LTEX_GLOBAL_STORAGE_PATH #8

Open
mawkler opened this issue Jan 27, 2024 · 0 comments · May be fixed by #9
Open

Set the variable LTEX_GLOBAL_STORAGE_PATH #8

mawkler opened this issue Jan 27, 2024 · 0 comments · May be fixed by #9

Comments

@mawkler
Copy link

mawkler commented Jan 27, 2024

The system variable LTEX_GLOBAL_STORAGE_PATH is where you can put default dictionary files. However, ltex-ls doesn't actually set the variable. According to this comment it's up to the client to set it. Of course, the user can set it to whatever they want, but it makes sense to me for the client to at least have it set to something.

I suggest setting it to vim.fn.stdpath('data') .. '/ltex/' or similar. What do you say?

@mawkler mawkler linked a pull request Jan 27, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant