enc: global variable pcode

This commit is contained in:
asep.komarudin 2024-06-14 08:21:36 +07:00
parent ecc54b9f87
commit 65857a4226
45 changed files with 132 additions and 131 deletions

View file

@ -1,10 +1,10 @@
if not vim.g.neovide and vim.g.pcode_minianimate and true or false then
if not vim.g.neovide and pcode.minianimate and true or false then
return {
-- animations
{
"echasnovski/mini.animate",
event = "BufRead",
enabled = not vim.g.neovide and vim.g.pcode_minianimate and true or false,
enabled = not vim.g.neovide and pcode.minianimate and true or false,
opts = function()
-- don't use animate when scrolling with the mouse
local mouse_scrolled = false