Open devurandom opened 2 months ago
Describe the bug
When I write in a *.clj file:
*.clj
[\!\@]
Clojure LSP IntelliJ marks \!\@ as an error: <form> expected, got '\!\@'
\!\@
<form> expected, got '\!\@'
This appears to be independent of the actual values (\! and \@ in this case; e.g. \a\b or \.\: behaves the same way).
\!
\@
\a\b
\.\:
The vector [] is not necessary either. Given a file containing:
[]
Clojure LSP IntellJ will mark \a\b as an error: '\a\b' unexpected
'\a\b' unexpected
Expected behavior
\a\b is valid syntax. [\a\b] is a vector containing char values \a and \b.
[\a\b]
\a
\b
User details
Originally reported as https://github.com/clojure-lsp/clojure-lsp/issues/1816.
That's a bug on our Language grammar parser, but I don't know exactly how to solve it, help welcome for this one
Describe the bug
When I write in a
*.clj
file:Clojure LSP IntelliJ marks
\!\@
as an error:<form> expected, got '\!\@'
This appears to be independent of the actual values (
\!
and\@
in this case; e.g.\a\b
or\.\:
behaves the same way).The vector
[]
is not necessary either. Given a file containing:Clojure LSP IntellJ will mark
\a\b
as an error:'\a\b' unexpected
Expected behavior
\a\b
is valid syntax.[\a\b]
is a vector containing char values\a
and\b
.User details
Originally reported as https://github.com/clojure-lsp/clojure-lsp/issues/1816.