Skip to content

Conversation

@mariari
Copy link
Member

@mariari mariari commented Nov 7, 2024

No description provided.


```emacs-lisp
(use-package juvix-mode :straight (:host github :repo "anoma/juvix-mode")
:mode ("\\.\\(juvix\\)$" . juvix-mode))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  :mode ("\\.\\(juvix\\)$" . juvix-mode))

Just to confirm. This line is necessary even though we have the following in juvix-mode.el?

(add-to-list 'auto-mode-alist '("\\.juvix\\'" . juvix-mode))
(add-to-list 'auto-mode-alist '("\\.juvix.md\\'" . juvix-mode))

If so, we'd need to add the .juvix.md extension as well.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, for some reason it doesn't work for me without it

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably a bug in how it's registered in the elisp

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

then could you add the juvix.md extension to trigger the mode as well?

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.

3 participants