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

Golang Templ support? #806

Closed
JamesTiberiusKirk opened this issue Dec 21, 2023 · 3 comments
Closed

Golang Templ support? #806

JamesTiberiusKirk opened this issue Dec 21, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@JamesTiberiusKirk
Copy link

JamesTiberiusKirk commented Dec 21, 2023

Problem

Wondering if we can get golang templ support
templ.guide

Here is how it looks at the moment.
Screenshot 2023-12-21 at 17 57 44

Also scope does not work either.

Expected behavior

Feature request.

@JamesTiberiusKirk JamesTiberiusKirk added the enhancement New feature or request label Dec 21, 2023
@lukas-reineke
Copy link
Owner

I can't reproduce your screenshot, can you please use the minimal reproduction template

For scope to work, there needs to be treesitter support for this.

@JonnyLoughlin
Copy link

This was a bug in templ fmt fixed here. Update templ and the issue should be fixed.

@JamesTiberiusKirk
Copy link
Author

Sorry completly forgot about this issue. and yeah templ fmt works (but it is buggy)

sorry, it does seem like its an issue with templ formatter and not your plugin @lukas-reineke

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants