aboutsummaryrefslogtreecommitdiff
path: root/lua/config/which-key.lua
diff options
context:
space:
mode:
authorjdhao <jdhao@hotmail.com>2022-09-10 23:55:22 +0800
committerjdhao <jdhao@hotmail.com>2022-09-10 23:55:22 +0800
commitaaeb6a813a9044892e5bb76ba4a3a61db08eae4d (patch)
tree6a1dc5a4f79f08678bdb8903a7920e8545718fa7 /lua/config/which-key.lua
parent9ba728e201657892681cafc2c6fe8ad997873b49 (diff)
format with stylua
Diffstat (limited to 'lua/config/which-key.lua')
-rw-r--r--lua/config/which-key.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/lua/config/which-key.lua b/lua/config/which-key.lua
index 11e4c63..10c0c41 100644
--- a/lua/config/which-key.lua
+++ b/lua/config/which-key.lua
@@ -1,4 +1,4 @@
-require("which-key").setup({
+require("which-key").setup {
plugins = {
marks = true, -- shows a list of your marks on ' and `
registers = true, -- shows your registers on " in NORMAL or <C-r> in INSERT mode
@@ -46,7 +46,7 @@ require("which-key").setup({
align = "center", -- align columns left, center or right
},
ignore_missing = false, -- enable this to hide mappings for which you didn't specify a label
- hidden = { "<silent>", "<cmd>", "<Cmd>", "<CR>", "call", "lua", "^:", "^ "}, -- hide mapping boilerplate
+ hidden = { "<silent>", "<cmd>", "<Cmd>", "<CR>", "call", "lua", "^:", "^ " }, -- hide mapping boilerplate
show_help = true, -- show help message on the command line when the popup is visible
triggers = "auto", -- automatically setup triggers
-- triggers = {"<leader>"} -- or specify a list manually
@@ -57,4 +57,4 @@ require("which-key").setup({
-- most people should not need to change this
n = { "o", "O" },
},
-})
+}