vim-indent-guides icon indicating copy to clipboard operation
vim-indent-guides copied to clipboard

Incorrect behavior on file open in terminal

Open bitwombat opened this issue 9 years ago • 2 comments

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.

bitwombat avatar Aug 18 '15 01:08 bitwombat

Bump - I am seeing this as well. Thanks!

alapidas avatar Sep 03 '15 23:09 alapidas

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

shiro-saber avatar Feb 24 '16 02:02 shiro-saber