You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think all that's required is to ensure that *.templ file requests are intercepted by the lsp command. The lsp fmt command demonstrates how to format multiple files - by parsing the template and using the template files Write method to output a formatted version.
The text was updated successfully, but these errors were encountered:
As per https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_formatting
I think all that's required is to ensure that
*.templ
file requests are intercepted by thelsp
command. Thelsp fmt
command demonstrates how to format multiple files - by parsing the template and using the template filesWrite
method to output a formatted version.The text was updated successfully, but these errors were encountered: