First customizations

This commit is contained in:
Pietro Scuttari 2024-09-13 23:33:25 +02:00
parent 7201dc4801
commit 7b392239a9
1 changed files with 22 additions and 1 deletions

View File

@ -662,6 +662,8 @@ require('lazy').setup({
end,
},
}
local lspconfig = require 'lspconfig'
lspconfig.gopls.setup {}
end,
},
@ -786,7 +788,7 @@ require('lazy').setup({
-- Manually trigger a completion from nvim-cmp.
-- Generally you don't need this, because nvim-cmp will display
-- completions whenever it has completion options available.
['<C-Space>'] = cmp.mapping.complete {},
['<C-e>'] = cmp.mapping.complete {},
-- Think of <c-l> as moving to the right of your snippet expansion.
-- So if you have a snippet that's like:
@ -930,6 +932,25 @@ require('lazy').setup({
-- Uncomment the following line and add your plugins to `lua/custom/plugins/*.lua` to get going.
-- For additional information, see `:help lazy.nvim-lazy.nvim-structuring-your-plugins`
-- { import = 'custom.plugins' },
{
'NeogitOrg/neogit',
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
'echasnovski/mini.pick', -- optional
},
config = function()
local neogit = require 'neogit'
neogit.setup {}
vim.keymap.set('n', '<leader>g', neogit.open, { desc = '[ ] open NeoGit' })
end,
},
}, {
ui = {
-- If you are using a Nerd Font: set icons to an empty table which will use the