Replies: 1 comment 2 replies
-
It's a type in lazy.nvim, maybe it should be loaded automatically? TBH I don't fully understand how it gets loaded, maybe it's something done in https://github.com/folke/lazydev.nvim |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I see the
---@type LazySpec
style Lua type annotations in the example config code presented in the README.Since my lua-ls lsp in neovim has no idea where these are defined I am curious to learn more about how I might go about setting these up. For example it's not clear to me why or how I could expect such types to get defined in my plugins.lua script, given the script defines what plugins to load and there's a catch-22 here for it to have any access to the types FROM the plugins it's specifying.
Beta Was this translation helpful? Give feedback.
All reactions