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