From bd6daea6a5983149564cab8188cabfa59c9defc2 Mon Sep 17 00:00:00 2001 From: Philipp Thaler Date: Wed, 11 Feb 2026 23:05:20 +0100 Subject: [PATCH] add Neogit --- lua/custom/plugins/init.lua | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/lua/custom/plugins/init.lua b/lua/custom/plugins/init.lua index be0eb9d8..f4e20973 100644 --- a/lua/custom/plugins/init.lua +++ b/lua/custom/plugins/init.lua @@ -2,4 +2,34 @@ -- I promise not to create any merge conflicts in this directory :) -- -- See the kickstart.nvim README for more information -return {} +return { + { + 'NeogitOrg/neogit', + lazy = true, + dependencies = { + 'nvim-lua/plenary.nvim', -- required + 'sindrets/diffview.nvim', -- optional - Diff integration + + -- Only one of these is needed. + 'nvim-telescope/telescope.nvim', -- optional + 'ibhagwan/fzf-lua', -- optional + 'nvim-mini/mini.pick', -- optional + 'folke/snacks.nvim', -- optional + }, + cmd = 'Neogit', + keys = { + { 'gg', 'Neogit', desc = 'Show Neogit UI' }, + }, + }, + { + 'windwp/nvim-ts-autotag', + ft = { 'html', 'javascriptreact', 'typescriptreact', 'xml' }, + config = function() + require('nvim-ts-autotag').setup { + -- Optional: You can add configuration options here + -- For example, to disable closing for self-closing tags (e.g., in HTML) + -- disable_autotag_for_filetypes = { "xml" }, -- Example of disabling for specific filetypes + } + end, + }, +}