Răsfoiți Sursa

✨feat: add folke/which-key.nvim plugin

Naz 2 luni în urmă
părinte
comite
f948c41268
1 a modificat fișierele cu 18 adăugiri și 0 ștergeri
  1. 18 0
      lua/plugins/which-key.lua

+ 18 - 0
lua/plugins/which-key.lua

@@ -0,0 +1,18 @@
+return {
+	"folke/which-key.nvim",
+	event = "VeryLazy",
+	opts = {
+		-- your configuration comes here
+		-- or leave it empty to use the default settings
+		-- refer to the configuration section below
+	},
+	keys = {
+		{
+			"<leader>?",
+			function()
+				require("which-key").show({ global = false })
+			end,
+			desc = "Buffer Local Keymaps (which-key)",
+		},
+	},
+}