Add type annotations to plugin specs
This commit is contained in:
parent
d2112451a7
commit
9e591464ce
31 changed files with 56 additions and 14 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue