diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2023-01-18 11:40:06 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2023-01-18 11:40:06 +0100 |
commit | 7d956d065e1ee9c677af359fc786337d5f421608 (patch) | |
tree | 416f5a22339d9c22803078ac594f50203890cce5 /lua/user/core | |
parent | 99630ae8233f8a2afb6a89016b24a354b0186a21 (diff) | |
download | vim-7d956d065e1ee9c677af359fc786337d5f421608.zip vim-7d956d065e1ee9c677af359fc786337d5f421608.tar.gz |
add which-key plugins
Diffstat (limited to 'lua/user/core')
-rw-r--r-- | lua/user/core/init.lua | 1 | ||||
-rw-r--r-- | lua/user/core/which-key.lua | 9 |
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 +} |