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
|
@ -2,8 +2,7 @@
|
|||
return {
|
||||
"sbdchd/neoformat",
|
||||
config = function()
|
||||
local wk = require("which-key")
|
||||
wk.register({
|
||||
require("which-key").register({
|
||||
f = { "<cmd>Neoformat<CR>", "Format with Neoformat" },
|
||||
}, { prefix = "<leader>" })
|
||||
end,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue