You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I eagerlly wonder how Lazy implement this, Lazy seems to make filetype autocmds happens earlier? Is that possible?
What does lazy_handler_event group's Filetype autocmds's callback function look like?
I find a file lazy\core\handler\event.lua, but it's too hard for me... Read it several times but still don't get how Lazy does this.
Sorry for my bad English :)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Below is my attempt, language server will not attach to the first lua buffer I open, seems
require("lspconfig").lua_ls.setup {}
happens too late:Typical lazy spec, work as expected:
I eagerlly wonder how Lazy implement this, Lazy seems to make filetype autocmds happens earlier? Is that possible?
What does lazy_handler_event group's Filetype autocmds's callback function look like?
I find a file
lazy\core\handler\event.lua
, but it's too hard for me... Read it several times but still don't get how Lazy does this.Sorry for my bad English :)
Beta Was this translation helpful? Give feedback.
All reactions