You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lua/astrocore/init.lua
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -263,6 +263,7 @@ end
263
263
---@parammap_tabletable A nested table where the first key is the vim mode, the second key is the key to map, and the value is the function to set the mapping to
264
264
---@parambase?table A base set of options to set on every keybinding
265
265
functionM.set_mappings(map_table, base)
266
+
localwas_no_which_key_queue=notM.which_key_queue
266
267
-- iterate over the first keys for each mode
267
268
base=baseor {}
268
269
formode, mapsinpairs(map_table) do
@@ -288,7 +289,7 @@ function M.set_mappings(map_table, base)
288
289
end
289
290
end
290
291
end
291
-
ifpackage.loaded["which-key"] thenM.which_key_register() end-- if which-key is loaded already, register
292
+
ifwas_no_which_key_queueandM.which_key_queuethenM.on_load("which-key.nvim", M.which_key_register) end
292
293
end
293
294
294
295
--- regex used for matching a valid URL/URI string
0 commit comments