Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider - as operator in idris-thing-at-point #2

Closed
wants to merge 3 commits into from

Conversation

keram
Copy link
Owner

@keram keram commented 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

output-2022-11-26-21:57:29

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 keram closed this Dec 7, 2022
@keram keram deleted the idris2-mode-issues-16-new branch December 7, 2022 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant