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,7 +1,8 @@
-- Colorscheme
--- @type LazyPluginSpec
return {
"rebelot/kanagawa.nvim",
---@type KanagawaConfig
--- @type KanagawaConfig
opts = {
compile = true,
dimInactive = true,
@ -46,6 +47,7 @@ return {
}
end,
},
--- @param opts KanagawaConfig
config = function(_, opts)
require("kanagawa").setup(opts)
vim.cmd("colorscheme kanagawa")