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
Why:
The `-` char is defined in idris-syntax-table as being
beginning of comment and causing condition:
`(equal (syntax-after (point)) (string-to-syntax ".")`
in `idris-thing-at-point` be evaluated to nil (false)
and throw error.
Fixes:
idris-community/idris2-mode#16
keram
added a commit
to keram/idris-mode
that referenced
this issue
Nov 26, 2022
Why:
The `-` char is defined in idris-syntax-table as being
beginning of comment and causing condition:
`(equal (syntax-after (point)) (string-to-syntax ".")`
in `idris-thing-at-point` be evaluated to nil (false)
and throw error.
Fixes:
idris-community/idris2-mode#16
keram
added a commit
to keram/idris-mode
that referenced
this issue
Nov 26, 2022
Why:
The `-` char is defined in idris-syntax-table as being
beginning of comment and causing condition:
`(equal (syntax-after (point)) (string-to-syntax ".")`
in `idris-thing-at-point` be evaluated to nil (false)
and throw error.
Fixes:
idris-community/idris2-mode#16
Put the cursor on either of the minus signs (line 1 and line 3).
Hit (C-c C-s)
Expected behaviour
Add a stub definition.
Actual behaviour
Nothing, no messages are sent over the connection.
Moving the curosr to a non-dash character (the pipe or the plus in line 3), this command does send a message and the correct definition is generated.
The text was updated successfully, but these errors were encountered: