added fugitive and the gofmt formatter

This commit is contained in:
Diego Miguel M. Villamil 2024-09-28 20:33:29 +08:00
parent 56f9b62ab8
commit 4f86a195b8
1 changed files with 2 additions and 0 deletions

View File

@ -618,6 +618,7 @@ require('lazy').setup({
'black', 'black',
'isort', 'isort',
}, },
go = { 'gofmt' },
stop_after_first = false, stop_after_first = false,
-- --
-- You can use 'stop_after_first' to run the first available formatter from the list -- You can use 'stop_after_first' to run the first available formatter from the list
@ -806,6 +807,7 @@ require('lazy').setup({
dependencies = { { 'echasnovski/mini.icons', opts = {} } }, dependencies = { { 'echasnovski/mini.icons', opts = {} } },
vim.keymap.set('n', '-', '<CMD>Oil<CR>', { desc = 'Open parent directory' }), vim.keymap.set('n', '-', '<CMD>Oil<CR>', { desc = 'Open parent directory' }),
}, },
{ 'tpope/vim-fugitive' },
{ -- Highlight, edit, and navigate code { -- Highlight, edit, and navigate code
'nvim-treesitter/nvim-treesitter', 'nvim-treesitter/nvim-treesitter',
build = ':TSUpdate', build = ':TSUpdate',