Replies: 2 comments
-
You need to trigger the user autocmd event, I believe it is this: Vim script:
Lua: vim.api.nvim_exec_autocmds("User", { pattern = "MyCustomEvent" }) |
Beta Was this translation helpful? Give feedback.
0 replies
-
That did it mehalter thank you so much! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I bring this from reddit because it might actually be of general interest.
Could you please show an example where a plugin is loaded with a custom event? This is my unsuccessful attempt
Manually triggering the event like this shows the group doesn't exist
But doing this
Then I can trigger the event, but the package is not actually required. This can be easily tested like this:
The theme is not listed, as it was not actually required by lazy.nvim
Is this a bug, or I'm doing something wrong?
Beta Was this translation helpful? Give feedback.
All reactions