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

Denite with nord-vim makes some words disappearing #79

Closed
delphinus opened this issue Dec 4, 2017 · 5 comments
Closed

Denite with nord-vim makes some words disappearing #79

delphinus opened this issue Dec 4, 2017 · 5 comments

Comments

@delphinus
Copy link

With nord-vim & denite.nvim, it cannot show searching words.

But I don't know this matter is derived from Denite itself, or Nord colorscheme...

reproducing

  1. Set iTerm2 colorscheme to Nord.

  2. clone plugins

    mkdir /tmp/test
    cd /tmp/test
    git clone https://github.com/arcticicestudio/nord-vim
    git clone https://github.com/Shougo/denite.nvim
  3. make minimal vimrc & launch Vim

    set runtimepath+=/tmp/test/denite.nvim,/tmp/test/nord-vim
    colorscheme nord
    vim -N -u vimrc -i NONE
  4. launch denite & search some words

    :Denite file
    
    " and type some word to search
    vim

2017-12-02 0 14 40

The highlighted word vim disappeared only at top line. (and strange a bit at the second line nord-vim)

case: solarized

But with other colorschemes such as solarized, this does not occur.

  1. Set iTerm2 colorscheme to Solarized Dark.

  2. clone plugins

    mkdir /tmp/test
    cd /tmp/test
    git clone https://github.com/altercation/vim-colors-solarized
    git clone https://github.com/Shougo/denite.nvim
  3. make minimal vimrc & launch Vim

    set runtimepath+=/tmp/test/denite.nvim,/tmp/test/vim-colors-solarized
    colorscheme solarized
    vim -N -u vimrc -i NONE
  4. launch denite & search some words

    :Denite file
    
    " and type some word to search
    vim

2017-12-04 21 00 01

@arcticicestudio
Copy link
Contributor

arcticicestudio commented Dec 4, 2017

First off, great issue report! 👍
Includes all necessary information a maintainer needs to work on the issue and solve it way faster like a detailed reproduction guide and some screenshots for easier comparison :D

This can be related to WildMenu or Search groups which are used by the plugin. I'll see if it'll be fixed when #64 is done which will change the WildMenu group.

@delphinus
Copy link
Author

Thx for quick response, and I can understand the reason! I'm waiting for #64 to be solved, and I use setting below for a while.

set runtimepath+=/tmp/test/denite.nvim,/tmp/test/nord-vim
colorscheme nord
call denite#custom#option('default', 'highlight_matched_char', 'PreProc')

@arcticicestudio
Copy link
Contributor

@delphinus #64 has been closed. Can you please check if the problem still exists or if it has been fixed?

@delphinus
Copy link
Author

Still reproducing... Sorry, I misunderstood the reason. That is why denite.nvim is using CursorLine for selecting candidates, and Search for input words. Highlights in nord makes words disappear with Search on CursorLine.

But without denite, Vim shows searhing words validly even if with set cursorline in nord. So it seems that the cause is more than on denite itself.

@delphinus
Copy link
Author

I think this is spec in Denite, and I solved this by settings. So close this. Thx.

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

No branches or pull requests

3 participants