Add lua type annotation and make sure to use opts where possible

This commit is contained in:
2025-05-31 00:47:06 +02:00
parent d2a4babb2e
commit 6c49b81f5a
35 changed files with 362 additions and 263 deletions

View File

@@ -1,14 +1,16 @@
-- https://github.com/folke/lazydev.nvim
--- @module "lazy"
--- @type LazySpec
return {
{
"folke/lazydev.nvim",
ft = "lua",
opts = {
library = {
-- See the configuration section for more details
-- Load luvit types when the `vim.uv` word is found
{ path = "${3rd}/luv/library", words = { "vim%.uv" } },
},
"folke/lazydev.nvim",
ft = "lua",
--- @module "lazydev"
--- @type lazydev.Config
opts = {
library = {
-- See the configuration section for more details
-- Load luvit types when the `vim.uv` word is found
{ path = "${3rd}/luv/library", words = { "vim%.uv" } },
},
},
}