jinh0 / eyeliner.nvim

👀 Move faster with unique f/F indicators.
441 stars 14 forks source link

highlight_on_key = true has no effect on default AstroNvim config #24

Closed davis-jordan closed 1 year ago

davis-jordan commented 1 year ago

Hi, I have recently based my nvim config off of this project: https://github.com/AstroNvim/AstroNvim

With a fresh pull of AstroNvim, the highlight_on_key option has no effect. By this, I mean that even though I have set Eyeliner only to show the highlights when pressing f,F,t,T, the highlights are showing up all the time.

Here is the user-defined plugins block of AstroNvim that I have:

image

Despite this, every file that I open has highlights on every line by default, like this: (f was not pressed here)

image

I have also tried adding this autocmd in the Eyeliner Documentation:

vim.api.nvim_create_autocmd('ColorScheme', {
  pattern = '*',
  callback = function()
    vim.api.nvim_set_hl(0, 'EyelinerPrimary', { bold = true, underline = true })
  end,
})

Any ideas on how to rectify this would be very appreciated!

jinh0 commented 1 year ago

Hi @davis-jordan , were you able to solve the issue? What was the solution?

Xiione commented 1 year ago

Would like to know how this was solved as well. I'm experiencing the same issue right now after switching to lazy.nvim as my plugin manager, from packer.nvim.