feat(mini.ai): decouple mini.ai from which-key. Closes #1076
This commit is contained in:
@ -173,7 +173,7 @@ return {
|
|||||||
config = function(_, opts)
|
config = function(_, opts)
|
||||||
require("mini.ai").setup(opts)
|
require("mini.ai").setup(opts)
|
||||||
-- register all text objects with which-key
|
-- register all text objects with which-key
|
||||||
if require("lazyvim.util").has("which-key.nvim") then
|
require("lazyvim.util").on_load("which-key.nvim", function()
|
||||||
---@type table<string, string|table>
|
---@type table<string, string|table>
|
||||||
local i = {
|
local i = {
|
||||||
[" "] = "Whitespace",
|
[" "] = "Whitespace",
|
||||||
@ -214,7 +214,7 @@ return {
|
|||||||
i = i,
|
i = i,
|
||||||
a = a,
|
a = a,
|
||||||
})
|
})
|
||||||
end
|
end)
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user