Nvim: add type annotations to plugin opts
This commit is contained in:
parent
b3ebda5b51
commit
83cd0a7540
9 changed files with 50 additions and 58 deletions
|
@ -4,6 +4,7 @@ return {
|
|||
"folke/noice.nvim",
|
||||
event = "VeryLazy",
|
||||
dependencies = { "MunifTanjim/nui.nvim", "rcarriga/nvim-notify" },
|
||||
---@type NoiceConfig
|
||||
opts = {
|
||||
lsp = {
|
||||
-- override markdown rendering so that **cmp** and other plugins use **Treesitter**
|
||||
|
@ -19,8 +20,7 @@ return {
|
|||
},
|
||||
},
|
||||
config = function(_, opts)
|
||||
local noice = require("noice")
|
||||
noice.setup(opts)
|
||||
require("noice").setup(opts)
|
||||
|
||||
require("which-key").register({
|
||||
d = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue