flexlint
flexlint copied to clipboard
Underlining is placed in the wrong position when tabs are used
Love the linter. I have noticed that the underlining gets messed up when code is indented using tabs. I think it is counting tabs as single runes, but when the offending line is printed in the terminal the tabs are expanded to several spaces. That caused the underlining to be placed in the wrong position.
Expected:
|
72 | foreach subvar in "fin1st" "start1st" "startlast" {
| ^^^ hint: Compress multiple spaces to a single space
Actual:
|
72 | foreach subvar in "fin1st" "start1st" "startlast" {
| ^^^ hint: Compress multiple spaces to a single space
Bumping this - this would be a nice QoL feature