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

Improperly highlighted when used with :set colorcolumn #9

Closed
nowox opened this issue Apr 19, 2017 · 11 comments
Closed

Improperly highlighted when used with :set colorcolumn #9

nowox opened this issue Apr 19, 2017 · 11 comments
Labels

Comments

@nowox
Copy link

nowox commented Apr 19, 2017

I've asked a question related to this Plugin here:

https://vi.stackexchange.com/questions/12158/improperly-highlighted-when-used-with-cursorcolumn

I am wondering if this can be an issue of vim-cursorword

NOTE: Perhaps this is related to this w0ng/vim-hybrid#17

@itchyny
Copy link
Owner

itchyny commented Apr 20, 2017

The vim-cursorword only underlines the word and it works fine with colorsolumn. I think the problem is in vim-interestingwords, while I did not have time to investigate.

@nowox
Copy link
Author

nowox commented Apr 20, 2017

I have to investigate a bit though.

@itchyny
Copy link
Owner

itchyny commented Apr 20, 2017

Can you test with let g:cursorword = 0? This disables the plugin.

@nowox
Copy link
Author

nowox commented Apr 20, 2017

It's interesting, just avec your plugin I have the issue

2017-04-20_21-36-26

And after disabling the plugin it works:

2017-04-20_21-37-30

I am pretty sure the problem comes from w0ng/vim-hybrid, but I don't know what could be the issue.

@itchyny
Copy link
Owner

itchyny commented Apr 21, 2017

I tested with vim-hybrid but it works fine.
screen shot 2017-04-21 at 10 18 25 am

@nowox
Copy link
Author

nowox commented Apr 21, 2017

The issue doesn't appear on every keywords. On my previous example, only "white" keywords are affected by the issue.

@itchyny
Copy link
Owner

itchyny commented Apr 21, 2017

Still does not reproduce for me...
screen shot 2017-04-21 at 4 59 16 pm

@nowox
Copy link
Author

nowox commented Apr 22, 2017

Perhaps you don't have vim8. I just tried on my Ubuntu:

ubuntu

Could you try with:

  • VIM - Vi IMproved 8.0
  • Same .vimrc as proposed
  • Make sure termguicolors is enabled and your terminal support true colors.

@itchyny
Copy link
Owner

itchyny commented Apr 30, 2017

I have tested with the following .vimrc with 8.0.589 but still does not reproduce for me.

set nocompatible
filetype off
set runtimepath^=~/.vim/miv/cursorword
set termguicolors
set cursorcolumn
filetype plugin indent on
syntax enable
colorscheme hybird

@itchyny itchyny closed this as completed Apr 30, 2017
@nowox
Copy link
Author

nowox commented Apr 30, 2017

I am afraid that if you use the wrong colorscheme you won't reproduce the issue. It is hybrid not hybird

@itchyny
Copy link
Owner

itchyny commented Apr 30, 2017

My bad, but still not reproducable for me. Please paste the result of :hi Normal and :hi CursorColumn.

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

No branches or pull requests

2 participants