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
Most languages in the config.ron are configured to indent using spaces, at the moment. When opening a file indented by tabs in a language configured to indent by spaces, the tab characters are displayed with visual width one instead of the configured width. Since other editors apply the configured width onto tabs visually, I would consider this a bug.
The text was updated successfully, but these errors were encountered:
Have a look at PR #72, in my testing this change fixed the issue if I've understood the description. The problem as I see it is that the tab width was always returning 1 when the indentation unit was 'space' rather than returning the indentation width to visually appear correct.
Most languages in the
config.ron
are configured to indent using spaces, at the moment. When opening a file indented by tabs in a language configured to indent by spaces, the tab characters are displayed with visual width one instead of the configured width. Since other editors apply the configured width onto tabs visually, I would consider this a bug.The text was updated successfully, but these errors were encountered: