Add type annotations to plugin specs

This commit is contained in:
Marko Korhonen 2023-11-25 14:37:36 +02:00
parent 7bd4c6e93e
commit efcdb566b8
31 changed files with 56 additions and 14 deletions

View file

@ -1,13 +1,15 @@
-- Better folds
--- @type LazyPluginSpec
return {
"kevinhwang91/nvim-ufo",
dependencies = { "kevinhwang91/promise-async" },
---@type UfoConfig
--- @type UfoConfig
opts = {
close_fold_kinds = {
"imports",
},
},
--- @param opts UfoConfig
config = function(_, opts)
local ufo = require("ufo")
ufo.setup(opts)