From 5938a465dbbf910ca0609a1db9ac13d52616af7e Mon Sep 17 00:00:00 2001 From: Skladnayazebra Date: Sat, 4 Apr 2026 21:18:45 +0200 Subject: nvim: refactor plugins config; add tree-sitter with proper config this time --- nvim/lua/config/lazy.lua | 61 +----------------------------------------------- 1 file changed, 1 insertion(+), 60 deletions(-) (limited to 'nvim/lua/config/lazy.lua') diff --git a/nvim/lua/config/lazy.lua b/nvim/lua/config/lazy.lua index 3cc2b8d..8a4118f 100644 --- a/nvim/lua/config/lazy.lua +++ b/nvim/lua/config/lazy.lua @@ -24,66 +24,7 @@ vim.g.maplocalleader = "\\" -- Setup lazy.nvim require("lazy").setup({ -- Plugins - spec = { - -- Color scheme - { "ellisonleao/gruvbox.nvim", priority = 1000, config = true }, - -- Git integration - { "tpope/vim-fugitive" }, - -- Shows git diff info in the gutter - { "lewis6991/gitsigns.nvim" }, - -- comment gestures - { "numToStr/Comment.nvim" }, - -- Fuzzy finder - { - "ibhagwan/fzf-lua", - config = function() - require("config.fzf") - end, - dependencies = { "nvim-tree/nvim-web-devicons" }, - opts = {}, - }, - -- Wrap text into quotes/parens - { - "kylechui/nvim-surround", - version = "^3.0.0", -- stable, use main for latest - event = "VeryLazy", - config = function() - require("nvim-surround").setup({}) - end - }, - { "prettier/vim-prettier" }, - { "neovim/nvim-lspconfig" }, - { "b0o/schemastore.nvim" }, - { - "nvim-mini/mini.files", - branch = "main", - dependencies = { "nvim-mini/mini.icons" }, - config = function() - require('mini.files').setup({ - mappings = { - go_in_plus = '', - }, - windows = { - preview = true, - } - }) - end, - }, - require("config.blink-cmp"), - { - "f-person/auto-dark-mode.nvim", - opts = { - set_dark_mode = function() - vim.api.nvim_set_option_value("background", "dark", {}) - end, - set_light_mode = function() - vim.api.nvim_set_option_value("background", "light", {}) - end, - update_interval = 3000, - fallback = "dark", - } - }, - }, + spec = require('config.plugins'), install = { colorscheme = { "gruvbox" } }, checker = { enabled = true, notify = false }, }) -- cgit v1.3.1