mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
refactor to snacks.nvim
This commit is contained in:
parent
cbcc636243
commit
92d89b849d
1 changed files with 2 additions and 2 deletions
|
|
@ -15,7 +15,7 @@ return {
|
||||||
config = function(_, opts)
|
config = function(_, opts)
|
||||||
require("illuminate").configure(opts)
|
require("illuminate").configure(opts)
|
||||||
|
|
||||||
LazyVim.toggle.map("<leader>ux", {
|
Snacks.toggle({
|
||||||
name = "Illuminate",
|
name = "Illuminate",
|
||||||
get = function()
|
get = function()
|
||||||
return not require("illuminate.engine").is_paused()
|
return not require("illuminate.engine").is_paused()
|
||||||
|
|
@ -28,7 +28,7 @@ return {
|
||||||
m.pause()
|
m.pause()
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
})
|
}):map("<leader>ux")
|
||||||
|
|
||||||
local function map(key, dir, buffer)
|
local function map(key, dir, buffer)
|
||||||
vim.keymap.set("n", key, function()
|
vim.keymap.set("n", key, function()
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue