mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-22 00:49:03 +02:00
feat(mini.ai): decouple mini.ai from which-key. Closes #1076
This commit is contained in:
parent
9fd89701da
commit
e212c166b4
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue