From ee5b0e5bdbea5f8a813e84e7201060ab56be7e05 Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Sun, 23 Jun 2024 19:28:23 -0700 Subject: [PATCH] remove mini.animate --- init.lua | 14 ++++++++++++++ lazyvim.json | 1 - lua/config/autocmds.lua | 2 ++ 3 files changed, 16 insertions(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 2514f9e..73c7f02 100644 --- a/init.lua +++ b/init.lua @@ -1,2 +1,16 @@ -- bootstrap lazy.nvim, LazyVim and your plugins require("config.lazy") + +vim.api.nvim_create_autocmd({ "VimEnter", "VimResume" }, { + group = vim.api.nvim_create_augroup("KittySetVarVimEnter", { clear = true }), + callback = function() + io.stdout:write("\x1b]1337;SetUserVar=in_editor=MQo\007") + end, +}) + +vim.api.nvim_create_autocmd({ "VimLeave", "VimSuspend" }, { + group = vim.api.nvim_create_augroup("KittyUnsetVarVimLeave", { clear = true }), + callback = function() + io.stdout:write("\x1b]1337;SetUserVar=in_editor\007") + end, +}) diff --git a/lazyvim.json b/lazyvim.json index cec433d..d62fb54 100644 --- a/lazyvim.json +++ b/lazyvim.json @@ -28,7 +28,6 @@ "lazyvim.plugins.extras.lang.yaml", "lazyvim.plugins.extras.linting.eslint", "lazyvim.plugins.extras.test.core", - "lazyvim.plugins.extras.ui.mini-animate", "lazyvim.plugins.extras.ui.treesitter-context", "lazyvim.plugins.extras.util.dot", "lazyvim.plugins.extras.util.mini-hipatterns", diff --git a/lua/config/autocmds.lua b/lua/config/autocmds.lua index 27e9e06..6cefb19 100644 --- a/lua/config/autocmds.lua +++ b/lua/config/autocmds.lua @@ -1,3 +1,5 @@ -- Autocmds are automatically loaded on the VeryLazy event -- Default autocmds that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/autocmds.lua -- Add any additional autocmds here + +-- Lua equivalent in Neovim configuration (init.lua or init.vim)