summaryrefslogtreecommitdiffstats
path: root/lua/user/core
diff options
context:
space:
mode:
Diffstat (limited to 'lua/user/core')
-rw-r--r--lua/user/core/init.lua1
-rw-r--r--lua/user/core/which-key.lua9
2 files changed, 10 insertions, 0 deletions
diff --git a/lua/user/core/init.lua b/lua/user/core/init.lua
index 64d8e28..ba3d9dc 100644
--- a/lua/user/core/init.lua
+++ b/lua/user/core/init.lua
@@ -7,3 +7,4 @@ require 'user.core.treesitter'
require 'user.core.gitsigns'
require 'user.core.nvim-tree'
require 'user.core.lsp'
+require 'user.core.which-key'
diff --git a/lua/user/core/which-key.lua b/lua/user/core/which-key.lua
new file mode 100644
index 0000000..33e9886
--- /dev/null
+++ b/lua/user/core/which-key.lua
@@ -0,0 +1,9 @@
+local status_ok, which_key = pcall(require, "which-key")
+if not status_ok then
+ print "which-key init failed"
+ return
+end
+
+which_key.setup {
+ -- FIXME
+}