jinh0 / eyeliner.nvim

👀 Move faster with unique f/F indicators.
461 stars 15 forks source link

setup() is called after enable() #15

Closed grecodavide closed 1 year ago

grecodavide commented 1 year ago

As stated in the title, even with highlight_on_key = true in my config I get the highlight constantly. My config:

require'eyeliner'.setup {
    highlight_on_key = true
}

I'm on NVIM v0.9.0, with plugins updated

jinh0 commented 1 year ago

I haven't tried it on v0.9, I'll take a look. Thanks for the issue!

jinh0 commented 1 year ago

Hey @grecodavide , sorry for the really late reply. I don't think it has to do anything with Neovim's version.

This should be fixed in the latest commit 7c539e91b6608661162617be2a4be3f454e423cb as for @jemag's solution. Let me know if it works!

grecodavide commented 1 year ago

Great, now it works :)

As a side note, it still won't work if you put the configuration in after/plugin Thanks for the follow up!

jinh0 commented 1 year ago

Turns out lazy loading wasn't all completely fixed, I think I found the culprit as explained here. The latest commit a2c392703ee591e80a962fe907c7d4ba0bdd593b should fix this.

Could you see if it works now if you put the configuration in after/plugin? Thanks!

grecodavide commented 1 year ago

Well, now it works like a charm! thank you, and have a good day :)