-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
module: add :lang idris2
#7229
module: add :lang idris2
#7229
Conversation
Is there an option for customizing idris's interpreter?
|
I am a bit confused at the current state of It seems like there was an effort to get You can find some old discussions here:
Today, I am currently attempting to use Idris2 using Doom's
I am getting errors when trying to evaluate certain statements from the REPL. I am very new to Idris, so it's hard for me to decouple my own user errors, and official support. Here are some errors I am getting
Running Idris2 REPL from the CLI allows me to invoke these statements just fine. |
(after! lsp-mode | ||
(add-to-list 'lsp-language-id-configuration '(idris2-mode . "idris2")) | ||
|
||
(lsp-register-client | ||
(make-lsp-client | ||
:new-connection (lsp-stdio-connection "idris2-lsp") | ||
:major-modes '(idris2-mode) | ||
:server-id 'idris2-lsp))) | ||
|
||
(add-hook 'idris2-mode-hook #'lsp!)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This assumes you're using lsp-mode
. Given that doom emacs supports eglot
as well this configuration should conditionally register an lsp client for lsp-mode
or eglot
depending on which one is enabled.
Seems idris2-mode is abandoned. |
Since idris2-mode is unmaintained, I'll close this. In the meantime, I've added some documentation on how to get some idris2 support in idris-mode. That said, thanks for bringing this to my attention! |
Added support for the Idris 2 programming language. This is a new, breaking version of Idris, that isn't supported by the pre-existing module. Idris 1 (the one the pre-existing module supports) is deprecated, but I haven't removed it because some people might still depend on it (no pun intended). I haven't really deprecated the module or anything, I'll be waiting for your input to tell me if you want to do so.
As the Idris 1 language is deprecated and pretty much not at all used at this point, and since the pre-existing module doesn't support Idris 2, this kind of makes the pre-existing module useless for Idris users.
(technically not for this, but I have discussed this with the maintainer on Discord and I've been told that it's fine to PR this)
(there are no relevant issues or PRs)