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
Thus would probably be solved by #9556 for a small example like this. Large files basically are never made of of more comments than actual source lines.
There is no way to detect comments in the indent heuristic so I don't think we can do more than that closing as duplicate of #9556
Summary
Solidity (and likely other languages) allows for two types of documentation comment styles:
While the first style gives the expected indent guides and doesn't affect indent-size detection, the second is somewhat problematic for some files.
Reproduction Steps
Consider the following file:
When opened in helix, it interprets the indent size as being 1 space.
Helix log
N/A
Platform
Linux (Ubuntu)
Terminal Emulator
wezterm 20240203-110809-5046fc22
Installation Method
nixpkgs
Helix Version
helix 23.10 (f6021dd)
The text was updated successfully, but these errors were encountered: