-
Notifications
You must be signed in to change notification settings - Fork 3
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
heex-ts-mode
does not derive from prog-mode
#4
Comments
html-mode was just the simplest to start with. you are welcome to create a PR or maybe suggest some specific changes. |
I'll see if just swapping out |
@KaranAhlawat it will be a bit more than that, but check the behaviour with other packages. It might also be worth while to have a look how other templating modes work and where they derive from. |
|
Upstream Reading this now I think it's a mistake for both |
I started looking at this today. Just a reminder that this mode is part of Emacs now and further conversation regarding this will happen on the mailing list. ( I will link the thread here, unless there is not a reason to go ahead with such a change ). The initial test on my side shows no immediate issues though. |
The derivation chain goes
heex-ts-mode
<-html-mode
<-sgml-mode
<-text-mode
<-nil
. Which means users may trigger (and conversely not trigger) behavior they have setup intext-mode
(and converselyprog-mode
).For a concrete example, the default completion-at-point keybinding is taken over by
ispell
in text-mode. This was unexpected sinceheex-ts-mode
, is primarily a programming buffer, even if you're just mostly writing templates.What are your thoughts on making it derive from
prog-mode
orweb-mode
rather thanhtml-mode
?The text was updated successfully, but these errors were encountered: