Nvim: add type annotations to plugin opts

This commit is contained in:
Marko Korhonen 2023-11-21 22:28:54 +02:00
parent 26d0dae2fc
commit b5498c671d
9 changed files with 50 additions and 58 deletions

View file

@ -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,