summaryrefslogtreecommitdiff
path: root/nvim/lua/config/lazy.lua
diff options
context:
space:
mode:
authorSkladnayazebra <skladnayazebra@gmail.com>2026-04-04 21:18:45 +0200
committerSkladnayazebra <skladnayazebra@gmail.com>2026-04-04 21:18:45 +0200
commit5938a465dbbf910ca0609a1db9ac13d52616af7e (patch)
tree14d70b052e32edc190d7304555fc958eb0ed6ec0 /nvim/lua/config/lazy.lua
parentfeae0fffe6c39eb2732c7afbd16599f949a00b3d (diff)
nvim: refactor plugins config; add tree-sitter with proper config this time
Diffstat (limited to 'nvim/lua/config/lazy.lua')
-rw-r--r--nvim/lua/config/lazy.lua61
1 files changed, 1 insertions, 60 deletions
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 = '<CR>',
- },
- 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 },
})