nvim/lua/plugins_disabled/which-key.lua
RingOfStorms (Joshua Bell) 2566fbbec4 Working on lsp
2023-06-09 03:50:20 -05:00

20 lines
598 B
Lua

return {
"folke/which-key.nvim",
commit = "e271c28118998c93a14d189af3395812a1aa646c", -- May 22, 2023
event = "VeryLazy",
init = function()
vim.o.timeout = true
vim.o.timeoutlen = 300
end,
opts = {
icons = { group = vim.g.icons_enabled and "" or "+", separator = "" },
disable = { filetypes = { "TelescopePrompt" } },
-- your configuration comes here
-- or leave it empty to use the default settings
-- refer to the configuration section below
},
setup = function(_, opts)
require("which-key").setup(opts)
require("keymaps").which_key_register()
end
}