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

feat: Add Code Folding #66

Merged
merged 3 commits into from
Jun 27, 2024
Merged

Conversation

sirgallifrey
Copy link
Contributor

fixes: a-h/templ#650

This PR Enables Code Folding by preventing the LanguageClient from registering the Folding Provider since Templ LSP does not have a Folding implementation.

The prettier config was added because my default prettier config was changing a lot of stuff, hope that's ok

@joerdav joerdav changed the title Add Code Folding feat: Add Code Folding Jun 27, 2024
@joerdav
Copy link
Contributor

joerdav commented Jun 27, 2024

Brilliant, that works for me.

@joerdav joerdav merged commit fd83bb6 into templ-go:main Jun 27, 2024
1 check passed
@sirgallifrey sirgallifrey deleted the feat/add-folding branch June 27, 2024 11:00
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.

feature: add folding to LSP
2 participants