summary refs log tree commit diff
path: root/.vim/lua/globals.lua
diff options
context:
space:
mode:
Diffstat (limited to '.vim/lua/globals.lua')
-rw-r--r--.vim/lua/globals.lua7
1 files changed, 0 insertions, 7 deletions
diff --git a/.vim/lua/globals.lua b/.vim/lua/globals.lua
index 41a32af..6aef29b 100644
--- a/.vim/lua/globals.lua
+++ b/.vim/lua/globals.lua
@@ -13,11 +13,4 @@ _G.augroup = function(tbl)
   end
 end
 
-_G.wk_register = function(mappings, opts)
-  local wk = package.loaded['which-key']
-  -- local _, wk = pcall(require, 'which-key')
-  if wk then return wk.register(mappings, opts) end
-  vim.notify_once('which-key missing')
-end
-
 _G.floating_win_border = 'solid'