Skip to content

feat: add prettier formatting to LSP#1381

Merged
a-h merged 3 commits into
a-h:mainfrom
jhzn:lsp_prettier
May 10, 2026
Merged

feat: add prettier formatting to LSP#1381
a-h merged 3 commits into
a-h:mainfrom
jhzn:lsp_prettier

Conversation

@jhzn
Copy link
Copy Markdown
Contributor

@jhzn jhzn commented Apr 29, 2026

I want the LSP to run prettier, like what templ fmt does.

This solution:
https://templ.guide/developer-tools/ide-support#formatting
is not good enough to standardize around for a team using different editors.

I threw this PR together as a working example but I'm very open to suggestions.

@a-h
Copy link
Copy Markdown
Owner

a-h commented May 10, 2026

Thanks, I'll take a look!

@a-h a-h changed the title Add prettier formatting to LSP feat: add prettier formatting to LSP May 10, 2026
@a-h a-h merged commit 2720f8e into a-h:main May 10, 2026
5 checks passed
@jhzn jhzn deleted the lsp_prettier branch May 11, 2026 06:27
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.

2 participants