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
{{ message }}
This repository has been archived by the owner on Jun 8, 2024. It is now read-only.
This would be somewhat hard to implement right, should we check all spaces and replace consecutive 2 spaces (or 4?) by tabs and remove the rest of the spaces? but only do that at the start of lines.
It's not impossible and I wouldn't reject a PR implementing it.
To anyone interested, I would suggest handling this with regex after the formatting is done.
Also, this is only run in an editor with nvarner/typst-lsp, that's the software that has access to .editorconfig so this would need to be implemented here once we have that feature you requested.
This would be somewhat hard to implement right, should we check all spaces and replace consecutive 2 spaces (or 4?) by tabs and remove the rest of the spaces? but only do that at the start of lines.
Well, what I have in mind is simply reindenting everything; kinda indent_space=1 but with tabs
I suggest adding a configuration option for enforcing hard tab usage instead of 1d4 spaces. Maybe also respect
.editorconfig
for that?The text was updated successfully, but these errors were encountered: