First customizations
This commit is contained in:
parent
7201dc4801
commit
7b392239a9
23
init.lua
23
init.lua
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue