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

Incorrect behavior on file open in terminal #96

Open
bitwombat opened this issue Aug 18, 2015 · 2 comments
Open

Incorrect behavior on file open in terminal #96

bitwombat opened this issue Aug 18, 2015 · 2 comments

Comments

@bitwombat
Copy link

I know you specify "limited" support for Vim in terminal, so maybe this is one to ignore...

When I open a sample PHP file, the indent guides are 4 chars wide, like so:

capture1

That's not my default setup; the ugliness is to help debug.

What's weird is that if I insert new lines, it works properly:

capture2

This is with either tabs or spaces.

The other thing is that comments get the guides, which I doubt is desired:

capture3

indent-guides settings are:

    let g:indent_guides_start_level = 2
    let g:indent_guides_guide_size = 1
    let g:indent_guides_enable_on_vim_startup = 1

What am I doing wrong?

Thanks for the plugin and for the help.

@alapidas
Copy link

alapidas commented Sep 3, 2015

Bump - I am seeing this as well. Thanks!

@shiro-saber
Copy link

How you change in your vimrc it for having >...> ?

And the problem it's because you had to define the next lines:
let g:indent_guides_auto_colors = 0
hi IndentGuidesOdd guibg=darkgrey ctermbg=236
hi IndentGuidesEven guibg=darkgrey ctermbg=237

@bitwombat

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

No branches or pull requests

3 participants