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
Hi there! I can't see it in the docs so I thought I'd try my luck and ask you. In aniseed and nfnl there's an autoload function that wraps a require in a lazy load meta table, so when you try to look something up in that module at runtime it's required JIT. By using this all throughout your project you end up with lazy loading your modules by default, causing your Neovim plugin to load a little quicker if it's loaded at startup time.
Is there anything in the configuration for this language server that could allow us to override the symbol so when the LSP spots (autoload :foo) it knows it's equivalent to (require :foo)? No problem if not or if you don't want to implement this, it'd just be a really neat feature akin to clj-kondo's configuration that allows you to teach it "hey, when you see this macro / symbol, pretend it's a def" for example, which helps you get clj-kondo to play ball with some macros.
Thanks!
The text was updated successfully, but these errors were encountered:
Hi there! I can't see it in the docs so I thought I'd try my luck and ask you. In aniseed and nfnl there's an
autoload
function that wraps a require in a lazy load meta table, so when you try to look something up in that module at runtime it's required JIT. By using this all throughout your project you end up with lazy loading your modules by default, causing your Neovim plugin to load a little quicker if it's loaded at startup time.Is there anything in the configuration for this language server that could allow us to override the symbol so when the LSP spots
(autoload :foo)
it knows it's equivalent to(require :foo)
? No problem if not or if you don't want to implement this, it'd just be a really neat feature akin to clj-kondo's configuration that allows you to teach it "hey, when you see this macro / symbol, pretend it's adef
" for example, which helps you get clj-kondo to play ball with some macros.Thanks!
The text was updated successfully, but these errors were encountered: