From ad8dc7546bbc532fd6d66f46e8d60751abbc796e Mon Sep 17 00:00:00 2001 From: Mykhailo Nikiforov Date: Mon, 25 Nov 2024 21:54:10 +0200 Subject: [PATCH] feat: update lazyvim configuration --- config/src/nvim/lua/config/lazy.lua | 26 +++++--------------------- flake.lock | 18 +++++++++--------- 2 files changed, 14 insertions(+), 30 deletions(-) diff --git a/config/src/nvim/lua/config/lazy.lua b/config/src/nvim/lua/config/lazy.lua index 4e42cd8..c9f20b2 100644 --- a/config/src/nvim/lua/config/lazy.lua +++ b/config/src/nvim/lua/config/lazy.lua @@ -33,13 +33,11 @@ require("lazy").setup({ { import = "lazyvim.plugins.extras.lang.terraform" }, { import = "lazyvim.plugins.extras.lang.toml" }, { import = "lazyvim.plugins.extras.lang.yaml" }, + { import = "lazyvim.plugins.extras.ui.mini-animate" }, { import = "lazyvim.plugins.extras.ui.mini-indentscope" }, { import = "lazyvim.plugins.extras.ui.treesitter-context" }, { import = "plugins.catppuccin" }, - -- { import = "plugins.tokyonight" }, - -- { import = "plugins.lang.nix" }, { import = "plugins.lang.shell" }, - { import = "plugins.misc.bigfile" }, { import = "plugins.misc.tmux-navigator" }, }, defaults = { @@ -48,28 +46,14 @@ require("lazy").setup({ lazy = false, -- It's recommended to leave version=false for now, since a lot the plugin that support versioning, -- have outdated releases, which may break your Neovim install. - version = false, -- always use the latest git commit + version = nil, -- always use the latest git commit -- version = "*", -- try installing the latest stable version for plugins that support semver }, - news = { - lazyvim = false, - neovim = false, - }, install = { colorscheme = { "catppuccin-macchiato" } }, - checker = { enabled = true }, -- automatically check for plugin updates + checker = { enabled = true, frequency = 60 * 60 * 24, }, -- automatically check for plugin updates once per day performance = { - rtp = { - -- disable some rtp plugins - disabled_plugins = { - "gzip", - -- "matchit", - -- "matchparen", - -- "netrwPlugin", - "tarPlugin", - "tohtml", - "tutor", - "zipPlugin", - }, + cache = { + enabled = true, }, }, }) diff --git a/flake.lock b/flake.lock index 3d5e302..d9875cd 100644 --- a/flake.lock +++ b/flake.lock @@ -175,11 +175,11 @@ ] }, "locked": { - "lastModified": 1732173780, - "narHash": "sha256-pszcETwWdItBmb/Z2CqIiTfEiVl3K5TPpgFSwyQrghY=", + "lastModified": 1732492905, + "narHash": "sha256-9/BfieHsR0BC5LaQr1WvqBBcfNAOMHHUpgV31NRZWf4=", "owner": "nix-community", "repo": "neovim-nightly-overlay", - "rev": "151fab1aa35e1cbc6f5caad1e175e3d621d67951", + "rev": "f021fdc7493b0243129a979fd338eaae50a931ef", "type": "github" }, "original": { @@ -191,11 +191,11 @@ "neovim-src": { "flake": false, "locked": { - "lastModified": 1732143030, - "narHash": "sha256-XKPsbjqHmwbiyzZdqNtw0tKxWLGFCkVB1+Awbi8tjQU=", + "lastModified": 1732489512, + "narHash": "sha256-ctSHOjNaWQM6g5L2OhJyEMTeMYEbIGk2vENqhT8FWbs=", "owner": "neovim", "repo": "neovim", - "rev": "07db909eb5ae2a559771068be64439eba394cd61", + "rev": "ff00d583af8f1ce21a508d701d09c54d2621b16e", "type": "github" }, "original": { @@ -206,11 +206,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1731755305, - "narHash": "sha256-v5P3dk5JdiT+4x69ZaB18B8+Rcu3TIOrcdG4uEX7WZ8=", + "lastModified": 1732350895, + "narHash": "sha256-GcOQbOgmwlsRhpLGSwZJwLbo3pu9ochMETuRSS1xpz4=", "owner": "nixos", "repo": "nixpkgs", - "rev": "057f63b6dc1a2c67301286152eb5af20747a9cb4", + "rev": "0c582677378f2d9ffcb01490af2f2c678dcb29d3", "type": "github" }, "original": {