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
I thought I'd bring this little gotcha up. I dont know how many people use noexpandtab... probably not enough to warrant an issue.
Anyway when I trigger hyperstyle with either ; or <CR> my line's indentation is changed from 1 hard tab to 1 soft tab (2 spaces), and for lines indented 2 hard tabs are re-indented 2 soft tabs (4 spaces).
I use noexpandtab, softtabstop=2 and tabstop=8, so this causes 4 levels of indentation to be converted from 8 spaces to 1 hard tab (2 * 4 == 8 spaces = 1 hard tab)
For now I'll just use a .vimrc in my sass directory which sets expandtab
Cheers
The text was updated successfully, but these errors were encountered:
jasonwoodland
changed the title
set noexpandtab breaks deep indentation
set noexpandtab breaks deep indentation
Mar 23, 2018
I thought I'd bring this little gotcha up. I dont know how many people use
noexpandtab
... probably not enough to warrant an issue.Anyway when I trigger hyperstyle with either
;
or<CR>
my line's indentation is changed from 1 hard tab to 1 soft tab (2 spaces), and for lines indented 2 hard tabs are re-indented 2 soft tabs (4 spaces).I use
noexpandtab
,softtabstop=2
andtabstop=8
, so this causes 4 levels of indentation to be converted from 8 spaces to 1 hard tab (2 * 4 == 8 spaces = 1 hard tab)For now I'll just use a
.vimrc
in my sass directory which setsexpandtab
Cheers
The text was updated successfully, but these errors were encountered: