add whichkey
This commit is contained in:
parent
6d52bfba07
commit
4909bf8662
2 changed files with 25 additions and 0 deletions
|
@ -22,6 +22,22 @@ if present then
|
|||
lsp_saga = true,
|
||||
treesitter_context = true,
|
||||
ts_rainbow = true,
|
||||
native_lsp = {
|
||||
enabled = true,
|
||||
virtual_text = {
|
||||
errors = { "italic" },
|
||||
hints = { "italic" },
|
||||
warnings = { "italic" },
|
||||
information = { "italic" },
|
||||
},
|
||||
underlines = {
|
||||
errors = { "underline" },
|
||||
hints = { "underline" },
|
||||
warnings = { "underline" },
|
||||
information = { "underline" },
|
||||
},
|
||||
},
|
||||
which_key = true,
|
||||
},
|
||||
})
|
||||
|
||||
|
|
|
@ -268,6 +268,15 @@ return packer.startup(function(use)
|
|||
event = "BufReadPre",
|
||||
})
|
||||
|
||||
-- WhichKey
|
||||
use({
|
||||
"folke/which-key.nvim",
|
||||
event = "BufReadPre",
|
||||
config = function()
|
||||
require("which-key").setup({})
|
||||
end,
|
||||
})
|
||||
|
||||
if PACKER_BOOTSTRAP then
|
||||
require("packer").sync()
|
||||
end
|
||||
|
|
Reference in a new issue