summaryrefslogtreecommitdiff
path: root/nvim/lua/config/plugins.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/plugins.lua
parentfeae0fffe6c39eb2732c7afbd16599f949a00b3d (diff)
nvim: refactor plugins config; add tree-sitter with proper config this time
Diffstat (limited to 'nvim/lua/config/plugins.lua')
-rw-r--r--nvim/lua/config/plugins.lua61
1 files changed, 61 insertions, 0 deletions
diff --git a/nvim/lua/config/plugins.lua b/nvim/lua/config/plugins.lua
new file mode 100644
index 0000000..c9496e3
--- /dev/null
+++ b/nvim/lua/config/plugins.lua
@@ -0,0 +1,61 @@
+return {
+ -- 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.plugins.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 = false,
+ }
+ })
+ end,
+ },
+ require("config.plugins.blink-cmp"),
+ require("config.plugins.tree-sitter"),
+ {
+ "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",
+ }
+ },
+}