mirror of
https://github.com/marianozunino/nvim.git
synced 2025-06-28 10:33:49 -03:00
dev: automated commit - 2025-05-28 13:27:21
This commit is contained in:
parent
b66ec91e85
commit
cc9b3f716e
1 changed files with 19 additions and 0 deletions
|
@ -1,6 +1,25 @@
|
||||||
return {
|
return {
|
||||||
"folke/snacks.nvim",
|
"folke/snacks.nvim",
|
||||||
priority = 1000,
|
priority = 1000,
|
||||||
|
init = function()
|
||||||
|
local group = vim.api.nvim_create_augroup("BlinkCmpSnacksToggle", { clear = true })
|
||||||
|
|
||||||
|
vim.api.nvim_create_autocmd("User", {
|
||||||
|
group = group,
|
||||||
|
pattern = "BlinkCmpMenuOpen",
|
||||||
|
callback = function()
|
||||||
|
vim.g.snacks_animate = false
|
||||||
|
end,
|
||||||
|
})
|
||||||
|
|
||||||
|
vim.api.nvim_create_autocmd("User", {
|
||||||
|
group = group,
|
||||||
|
pattern = "BlinkCmpMenuClose",
|
||||||
|
callback = function()
|
||||||
|
vim.g.snacks_animate = true
|
||||||
|
end,
|
||||||
|
})
|
||||||
|
end,
|
||||||
config = function()
|
config = function()
|
||||||
local snacks = require("snacks")
|
local snacks = require("snacks")
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue