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

Odd highlighting in float window. #279

Closed
2 tasks done
ckipp01 opened this issue Jul 23, 2021 · 2 comments
Closed
2 tasks done

Odd highlighting in float window. #279

ckipp01 opened this issue Jul 23, 2021 · 2 comments

Comments

@ckipp01
Copy link

ckipp01 commented Jul 23, 2021

Hello! So I just updated onedark and it includes #271. I read through the description and briefly tried a couple things but couldn't get this to work. I also made sure to update my term colorscheme to the latest. A while back I created this #197, which was a lifesaver. I have pointed that out to countless people who always seem to get stuck on it. After the update I now have this issue again. For example:

Screenshot 2021-07-23 at 20 40 06

This is just using the default hover that Neovim ships with when using vim.lsp.buf.hover(). I have this in my init file:

vim.cmd(
  [[autocmd ColorScheme * call onedark#set_highlight("Normal", { "fg": { "gui": "#ABB2BF", "cterm": "145", "cterm16" : "7" } })]]
)

How can I correctly mimic this with the new changes?

Terminal Emulator Info

iTerm2 Build 3.4.8
xterm-256color

Output From vim --version

NVIM v0.6.0-dev+a8c3d50fa
@ckipp01
Copy link
Author

ckipp01 commented Aug 7, 2021

I was able to get this worked out. There are some issues with autocmds on the nightly of Neovim causing them to behave differently. Just needed to move some stuff around in order to get it to work.

@ckipp01 ckipp01 closed this as completed Aug 7, 2021
@joshdick
Copy link
Owner

joshdick commented Aug 7, 2021

@ckipp01 I’m glad you were able to get it working!

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

No branches or pull requests

2 participants