[neovim] Add which-key plugin

This commit is contained in:
Adam Cooper 2023-10-29 01:16:53 -04:00
parent bae8cdc462
commit 45e44ee30a

View file

@ -82,10 +82,7 @@ require("lazy").setup({
"nvim-tree/nvim-web-devicons",
"nvim-lua/plenary.nvim",
{ "nvim-telescope/telescope.nvim", branch = "0.1.x" },
{
"nvim-treesitter/nvim-treesitter",
build = ":TSUpdate",
},
{ "nvim-treesitter/nvim-treesitter", build = ":TSUpdate" },
"neovim/nvim-lspconfig",
"hrsh7th/cmp-nvim-lsp",
"hrsh7th/cmp-buffer",
@ -97,6 +94,14 @@ require("lazy").setup({
"tpope/vim-fugitive",
"lewis6991/gitsigns.nvim",
"tpope/vim-surround",
{
"folke/which-key.nvim",
event = "VeryLazy",
init = function()
vim.o.timeout = true
vim.o.timeoutlen = 300
end,
}
})
require('mason').setup()