Files
kickstart.nvim/plugins/which-key.lua
2026-04-26 18:06:10 +02:00

20 lines
518 B
Lua

---@module 'lazy'
---@type LazySpec
return {
'folke/which-key.nvim',
event = 'VimEnter',
---@module 'which-key'
---@type wk.Opts
---@diagnostic disable-next-line: missing-fields
opts = {
delay = 0,
icons = { mappings = vim.g.have_nerd_font },
spec = {
{ '<leader>s', group = '[S]earch', mode = { 'n', 'v' } },
{ '<leader>t', group = '[T]oggle' },
{ '<leader>h', group = 'Git [H]unk', mode = { 'n', 'v' } },
{ 'gr', group = 'LSP Actions', mode = { 'n' } },
},
},
}