Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Tab characters don't respect tabstop #75

Closed
metiulekm opened this issue Jun 23, 2020 · 2 comments · Fixed by #80
Closed

Tab characters don't respect tabstop #75

metiulekm opened this issue Jun 23, 2020 · 2 comments · Fixed by #80

Comments

@metiulekm
Copy link

We indent by tabs at work. For readability, i set tabstop=4, but now this

int some_function() {
<tab>if (something) {
<tab><tab>// blah
<tab><tab>// blah
<tab><tab>// blah
<tab><tab>some_line();
<tab><tab>// blah

is rendered like this

int some_function() {
        if (something) {
==================================== <context.vim>
        some_line();
        // blah

because context.vim renders tabs as 8 spaces, but vim (correctly) as 4 spaces.

@wellle
Copy link
Owner

wellle commented Jul 12, 2020

@metiulekm: Thank you, it should work properly now 👍

@metiulekm
Copy link
Author

Thanks! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants