Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

set noexpandtab breaks deep indentation #11

Open
jasonwoodland opened this issue Mar 23, 2018 · 0 comments
Open

set noexpandtab breaks deep indentation #11

jasonwoodland opened this issue Mar 23, 2018 · 0 comments

Comments

@jasonwoodland
Copy link

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

@jasonwoodland jasonwoodland changed the title set noexpandtab breaks deep indentation set noexpandtab breaks deep indentation Mar 23, 2018
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant