-
-
Notifications
You must be signed in to change notification settings - Fork 390
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
How are you using the lua-language-server?
NeoVim
Which OS are you using?
Linux
What is the issue affecting?
Annotations
Expected Behaviour
given this snippet, luals knows it's a single quote.
local x = "'"
but if i try to annotate it as follow,
---@type "'"
local x = "'"
luals complains: 'Cannot assign string to "".^@- string cannot match ""^@- Literal '"' cannot match string ""'
Actual Behaviour
luals does not recognize ---@type "'"
Reproduction steps
- Go to '...'
- Click '...'
- See error '...'
Additional Notes
No response
Log File
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working