Skip to content

Commit

Permalink
feat(mini.ai): decouple mini.ai from which-key. Closes #1076
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Jul 12, 2023
1 parent 9fd8970 commit e212c16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/lazyvim/plugins/coding.lua
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ return {
config = function(_, opts)
require("mini.ai").setup(opts)
-- 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>
local i = {
[" "] = "Whitespace",
Expand Down Expand Up @@ -214,7 +214,7 @@ return {
i = i,
a = a,
})
end
end)
end,
},
}

0 comments on commit e212c16

Please sign in to comment.