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

Unvisible selected text in visual mode #143

Closed
timsofteng opened this issue Mar 29, 2021 · 3 comments
Closed

Unvisible selected text in visual mode #143

timsofteng opened this issue Mar 29, 2021 · 3 comments
Labels

Comments

@timsofteng
Copy link

timsofteng commented Mar 29, 2021

Explain the issue

  1. Neovim 0.5

  2. Steps to reproduce
    Enable gruvbox8 theme
    https://github.com/lifepillar/vim-gruvbox8
    Enable treesitter

  3. Expected behavior
    Selected text should be visible and different than regular

  4. Observed behavior
    Selected text can't be recognized

Expample of code

          <div class="column" style="display: inline-block;">
            <table>
              <tr>
                <td class="icon">
                  <a href="https://github.com/" target="_blank">
                    <img
                      alt="git"
                  /></a>
                </td>
              </tr>
            </table>
          </div>

Screenshot. There is selected word "class". But it's unvisible. Can't be recognized
image

@timsofteng timsofteng added the bug label Mar 29, 2021
@andymass
Copy link
Owner

I think this is a problem with the colorscheme. Specifically, gruvbox8 sets the Visual and MatchParen highlights to identical colors

:hi MatchParen
MatchParen     xxx cterm=italic ctermbg=6 gui=italic guibg=#665c54
:hi Visual
Visual         xxx ctermbg=242 guibg=#665c54

Can you change one or the other?

@timsofteng
Copy link
Author

Thanks. Sure. Let me redirect this issue to gruvbox8 repo.

@andymass
Copy link
Owner

Thanks. Closing this then, as fixed in colorscheme upstream.

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