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
When I set lsp-ltex-active-modes after the package is loaded, it'll be too late.
It needs to be set before loading the package, but that's a bit inconvenient and not documented.
Ideally, the init code of the package should not run when loading the package, but it should be in wrapped in a function that can be called instead of (require 'lsp-ltex).
(That has also been reported as a side note in #42.)
The text was updated successfully, but these errors were encountered:
Thanks for acknowledging. I saw that you've added the "documentation" label. Fixing the docs will certainly be an improvement. Let me say though that I think the best fix is what I described above:
Ideally, the init code of the package should not run when loading the package, but it should be in wrapped in a function that can be called instead of (require 'lsp-ltex).
When I set
lsp-ltex-active-modes
after the package is loaded, it'll be too late.It needs to be set before loading the package, but that's a bit inconvenient and not documented.
Ideally, the init code of the package should not run when loading the package, but it should be in wrapped in a function that can be called instead of
(require 'lsp-ltex)
.(That has also been reported as a side note in #42.)
The text was updated successfully, but these errors were encountered: