-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Tab padding character? #3427
Comments
Only the space, newline, tab, and nbsp can be rendered currently. Which is the tab padding character? U+0080? NBSP is https://en.wikipedia.org/wiki/Non-breaking_space. It's used most often when writing HTML. |
I guess there is no standard tab padding character. People use different characters for this purpose. |
Do you mean adding virtual whitespace to change tab length? Virtual whitespace is a WIP but you can configure the tab length. |
No. The tab character is a single character. However, the tab is usually set to be longer than single character. In @the-mikedavis screenshot you can see there is a little arrow and then nothing. In my screenshot there is a little arrow and 3 dots. It is all about how the tab is displayed. |
Currently this isn't possible: the tab setting in helix/helix-term/src/ui/editor.rs Lines 397 to 399 in 8a75795
which could be replaced either with a new padding character or the |
Is it possible to set tab padding character? https://docs.helix-editor.com/configuration.html#editorwhitespace-section does not mention it.
By the way what is
nbsp
? Maybe it would be nice to add some comment in the line to explain it.The text was updated successfully, but these errors were encountered: