mirror of
https://github.com/nvim-lua/kickstart.nvim.git
synced 2025-06-24 22:28:36 +02:00
done maybe
This commit is contained in:
parent
d00f77555e
commit
c54b71fdd4
24 changed files with 2632 additions and 501 deletions
|
@ -77,17 +77,14 @@ return {
|
|||
},
|
||||
config = function(_, opts)
|
||||
require('trouble').setup(opts)
|
||||
-- Add which-key group
|
||||
|
||||
-- Add which-key group using the new v3 spec API
|
||||
local ok, which_key = pcall(require, 'which-key')
|
||||
-- if ok then
|
||||
-- -- Use standard which-key format that's known to work
|
||||
-- which_key.register({
|
||||
-- ["<leader>x"] = { name = "Trouble/Diagnostics" },
|
||||
-- })
|
||||
|
||||
-- which_key.register({
|
||||
-- ["g"] = { name = "Goto" },
|
||||
-- })
|
||||
-- end
|
||||
if ok then
|
||||
which_key.add({
|
||||
{ "<leader>x", group = "Trouble/Diagnostics" },
|
||||
{ "g", group = "Goto" },
|
||||
})
|
||||
end
|
||||
end,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue