[neovim] Add which-key plugin
This commit is contained in:
parent
bae8cdc462
commit
45e44ee30a
1 changed files with 9 additions and 4 deletions
|
@ -82,10 +82,7 @@ require("lazy").setup({
|
||||||
"nvim-tree/nvim-web-devicons",
|
"nvim-tree/nvim-web-devicons",
|
||||||
"nvim-lua/plenary.nvim",
|
"nvim-lua/plenary.nvim",
|
||||||
{ "nvim-telescope/telescope.nvim", branch = "0.1.x" },
|
{ "nvim-telescope/telescope.nvim", branch = "0.1.x" },
|
||||||
{
|
{ "nvim-treesitter/nvim-treesitter", build = ":TSUpdate" },
|
||||||
"nvim-treesitter/nvim-treesitter",
|
|
||||||
build = ":TSUpdate",
|
|
||||||
},
|
|
||||||
"neovim/nvim-lspconfig",
|
"neovim/nvim-lspconfig",
|
||||||
"hrsh7th/cmp-nvim-lsp",
|
"hrsh7th/cmp-nvim-lsp",
|
||||||
"hrsh7th/cmp-buffer",
|
"hrsh7th/cmp-buffer",
|
||||||
|
@ -97,6 +94,14 @@ require("lazy").setup({
|
||||||
"tpope/vim-fugitive",
|
"tpope/vim-fugitive",
|
||||||
"lewis6991/gitsigns.nvim",
|
"lewis6991/gitsigns.nvim",
|
||||||
"tpope/vim-surround",
|
"tpope/vim-surround",
|
||||||
|
{
|
||||||
|
"folke/which-key.nvim",
|
||||||
|
event = "VeryLazy",
|
||||||
|
init = function()
|
||||||
|
vim.o.timeout = true
|
||||||
|
vim.o.timeoutlen = 300
|
||||||
|
end,
|
||||||
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
require('mason').setup()
|
require('mason').setup()
|
||||||
|
|
Loading…
Reference in a new issue