add polymouth animation

This commit is contained in:
DACHXY 2024-12-19 19:14:59 +08:00
parent 07d70e3a64
commit fca902de1a
18 changed files with 124 additions and 294 deletions

View file

@ -0,0 +1,22 @@
return {
{
"kdheepak/lazygit.nvim",
lazy = false,
cmd = {
"LazyGit",
"LazyGitConfig",
"LazyGitCurrentFile",
"LazyGitFilter",
"LazyGitFilterCurrentFile",
},
-- optional for floating window border decoration
dependencies = {
"nvim-lua/plenary.nvim",
},
-- setting the keybinding for LazyGit with 'keys' is recommended in
-- order to load the plugin when the command is run for the first time
keys = {
{ "<leader>gg", "<cmd>LazyGit<cr>", desc = "LazyGit" }
}
}
}

View file

@ -5,15 +5,15 @@ return {
"neovim/nvim-lspconfig",
opts = {
servers = {
biome = {
root_dir = function(fname)
return util.root_pattern("biome.json", "biome.jsonc")(fname)
or util.find_package_json_ancestor(fname)
or vim.fs.find("node_modules", { path = fname, upward = true })[1]
or util.find_node_modules_ancestor(fname)
or util.find_git_ancestor(fname)
end,
},
-- biome = {
-- root_dir = function(fname)
-- return util.root_pattern("biome.json", "biome.jsonc")(fname)
-- or util.find_package_json_ancestor(fname)
-- or vim.fs.find("node_modules", { path = fname, upward = true })[1]
-- or util.find_node_modules_ancestor(fname)
-- or util.find_git_ancestor(fname)
-- end,
-- },
},
},
},