Neovim: Skipping text check as LTeX has been disabled for files with code language ID 'tex' via ltex.enabled #278
Labels
1-bug 🐛
Issue type: Bug report (something isn't working as expected)
2-unconfirmed
Issue status: Bug that needs to be reproduced (all new bugs have this label)
Describe the bug
ltex-ls refuses to check grammar in some latex documents (and reports unexpected errors) while it works fine in main.tex and some other random files which are not the main.tex file.
Steps to reproduce
start neovim
Install ltex-ls with mason.nvim
Create main.tex with minimal setup:
A spelling diagnostic appears for "documenet", this is expected.
Then create a file introduction.tex and write
No diagnostic appears despite the typo and the LspLog contains the following errors:
Expected behavior
Sample document
I use the default setup, no further configuration.
LTeX configuration
I do not configure ltex-ls, at all. I just installed it with mason.nvim
LTeX LS log
see error messages above
Version information
nvim 0.9.4
ltex-ls 16.0.0
OpenJDK Runtime Environment (build 21+35)
OpenJDK 64-Bit Server VM (build 21+35, mixed mode, sharing)
Additional context/information
The text was updated successfully, but these errors were encountered: