Closed motorto closed 2 years ago
Works for me; but the diagnostics sometimes need a bit of time to "catch up". Try editing (or reloading) the buffer to force a sync.
hum weird ...
OK, in that context, I get the same errors.
(Ah, I see my error -- Neovim's LSP client still doesn't fully work when opening an empty file and then setting the filetype... 😠)
Thanks for the report. This happens with VSCode as well. This bug stems from the parser; it tries to complete the itemize
environment, which causes the error about the unexpected }
. I think we should handle this case the same way that we do in the tree-sitter
grammar.
Neovim's LSP client still doesn't fully work when opening an empty file and then setting the filetype...
The client doesn't seem to attach to the buffer after setting the filetype :)
This bug stems from the parser; it tries to complete the
itemize
environment, which causes the error about the unexpected}
Should I change the name of the issue then since it's not an error on the parser ?
Should I change the name of the issue then since it's not an error on the parser ?
The title is fine. It is an error of the parser (we do not use the tree-sitter
grammar in the server).
Can you give eec02390716fcf4fbf01de9afa975853e9267082 a try, please?
Sure, it seems to be working fine. In that use case the error seems to be fixed.
On Sat, Apr 16 2022 at 04:33:05 -0700, Patrick Förster @.***> wrote:
Can you give eec0239 https://github.com/latex-lsp/texlab/commit/eec02390716fcf4fbf01de9afa975853e9267082 a try, please?
— Reply to this email directly, view it on GitHub https://github.com/latex-lsp/texlab/issues/602#issuecomment-1100645083, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMRTQPN6LFZT3NZ45QTNXSLVFKQPDANCNFSM5TSFRDEQ. You are receiving this because you authored the thread.Message ID: @.***>
Did find a new one I think \usepackage{amsmath}
package
\begin{pmatrix}
1 & 2 & 3\\
a & b & c
\end{pmatrix}
Is that inside a math environment? (It's not legal outside.)
Is that inside a math environment? (It's not legal outside.)
Yup my error.
Probably should close this issue, but I am not sure if there was a new release since
Did find a new one I think \usepackage{amsmath} package
This error is actually reported by latex
itself and not texlab
;)
but I am not sure if there was a new release since
texlab 4.0.0
is now released 🚀
Hey guys the following code:
Returns the following errors about missing parenthesis ?
I don't know what else to provide, but to me it seems that is a parser error (or I am doing something stupid in my end)
Happy Easter !