fix: typo pvode

This commit is contained in:
asep.komarudin 2024-06-07 23:07:07 +07:00
parent c5280b8d08
commit 090f4c3d24
3 changed files with 4 additions and 4 deletions

View file

@ -119,7 +119,7 @@ vim.g.pcode_nvimufo = false
-- https://github.com/echasnovski/mini.indentscope -- https://github.com/echasnovski/mini.indentscope
vim.g.pcode_indentscope = true vim.g.pcode_indentscope = true
-- https://github.com/echasnovski/mini.animate -- https://github.com/echasnovski/mini.animate
vim.g.pvode_minianimate = false vim.g.pcode_minianimate = false
vim.g.pcode_disable_cmpdoc = false vim.g.pcode_disable_cmpdoc = false
vim.g.pcode_adaptive_color_icon = true vim.g.pcode_adaptive_color_icon = true

View file

@ -2,7 +2,7 @@ local M = {}
if vim.g.pcode_adaptive_color_icon then if vim.g.pcode_adaptive_color_icon then
M = { M = {
"rachartier/tiny-devicons-auto-colors.nvim", "rachartier/tiny-devicons-auto-colors.nvim",
event = "VeryLazy", event = "BufReadPre",
config = function() config = function()
require("tiny-devicons-auto-colors").setup() require("tiny-devicons-auto-colors").setup()
end, end,

View file

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