scrooloose / vim-colon-therapy

Handle trailing colons and line numbers in the filename when `:edit`ing
Do What The F*ck You Want To Public License
10 stars 1 forks source link

Plugin intereferes with indentLine #2

Closed syyyr closed 1 year ago

syyyr commented 4 years ago

Hi,

I use https://github.com/Yggdroot/indentLine together with vim-colon-therapy. However, when vim-colon-therapy invokes its behavior, indentLine doesn't work automatically and I have to manually use IndentLinesEnable. When opening files normally, this doesn't happen. I tried looking at the code, but I'm not sure why this happens.

Thanks, syyyr

syyyr commented 4 years ago

Okay, I checked to code and found out that indentLine initializes on BufWinEnter. I created a PR that adds manual doautocmd for that autocmd.

syyyr commented 1 year ago

It seems that https://github.com/lukas-reineke/indent-blankline.nvim doesn't have this issue, and is an improvement over indentLine. I have switched to the new plugin. However, since the new plugin doesn't support classic vim, I'll keep this issue open.

syyyr commented 1 year ago

With the last update, autocmds no longer need to be fired. Closing this issue.