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
When formatting with templ fmt, vim.lsp.buf.format(), or with vscode-templ, extra whitespace characters are introduced on some lines. Attached are what the expected formatting should be and what is actually output. Plugging the output into a whitespace checker, shows that it is an extra space on the start of these lines.
I am going to try looking into this myself, but I'm not sure if I'll be able to figure it out, so I wanted to file an issue in case anyone else is encountering this issue/ has any insight into why this would be happening.
If there is anything else I can do to help with this issue, please just let me know.
The text was updated successfully, but these errors were encountered:
Running types_test.go fails a few tests, but looking at the tests, they have incorrect expected output. ie.
The expected output has the additional whitespaces in it. Removing them leads to the tests passing with this change.
When formatting with
templ fmt
,vim.lsp.buf.format()
, or withvscode-templ
, extra whitespace characters are introduced on some lines. Attached are what the expected formatting should be and what is actually output. Plugging the output into a whitespace checker, shows that it is an extra space on the start of these lines.I am going to try looking into this myself, but I'm not sure if I'll be able to figure it out, so I wanted to file an issue in case anyone else is encountering this issue/ has any insight into why this would be happening.
If there is anything else I can do to help with this issue, please just let me know.
The text was updated successfully, but these errors were encountered: