r/emacs•
olymk2

golang templ mode ?

Anyone got some config for https://templ.guide/ I am currently using web mode but it does not indent inside the functions nicely is there any package or configuration anyone is using ?

Posted Nov 15, 2023, 1:04 PM UTC

10
sleekelite•

There wasn’t one when I looked a few weeks ago, however there is a language server and tree sitter grammar if someone cares a lot about templ and wants to write a node.

1
jombois•

I am interested in this as well, I started working on a polymode for this https://github.com/rcy/poly-templ

1
CreeprXplosion•

Please do continue developing it

1