Add plugins and customizations

This commit is contained in:
gmcmillan82 2024-05-13 19:26:19 +02:00
parent 5aeddfdd5d
commit 9d1bfea5a4
7 changed files with 82 additions and 4 deletions

View File

@ -566,8 +566,8 @@ require('lazy').setup({
-- For example, to see the options for `lua_ls`, you could go to: https://luals.github.io/wiki/settings/
local servers = {
-- clangd = {},
-- gopls = {},
-- pyright = {},
gopls = {},
pyright = {},
-- rust_analyzer = {},
-- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs
--
@ -885,7 +885,7 @@ 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' },
{ import = 'custom.plugins' },
}, {
ui = {
-- If you are using a Nerd Font: set icons to an empty table which will use the

View File

@ -0,0 +1,7 @@
return {
{
'catppuccin/nvim',
name = 'catppuccin',
priority = 1000,
},
}

View File

@ -2,4 +2,22 @@
-- I promise not to create any merge conflicts in this directory :)
--
-- See the kickstart.nvim README for more information
return {}
return {
vim.keymap.set('n', '<space>fb', ':Telescope file_browser path=%:p:h select_buffer=true<CR>'),
vim.keymap.set('n', '<space>ng', ':Neogit cwd=%:p:h<CR>'),
require('mini.surround').setup(),
require('mini.pairs').setup(),
require('mini.indentscope').setup {
options = { try_as_border = true },
symbol = '',
draw = {
delay = 200,
animation = function()
return 1
end,
},
},
}

View File

@ -0,0 +1,18 @@
return {
{
'NeogitOrg/neogit',
dependencies = {
'nvim-lua/plenary.nvim', -- required
'sindrets/diffview.nvim', -- optional - Diff integration
-- Only one of these is needed, not both.
'nvim-telescope/telescope.nvim', -- optional
},
config = function()
require('neogit').setup {
kind = 'split',
integrations = { diffview = true },
}
end,
},
}

View File

@ -0,0 +1,18 @@
return {
-- lazy.nvim
{
'folke/noice.nvim',
event = 'VeryLazy',
opts = {
-- add any options here
},
dependencies = {
-- if you lazy-load any plugin below, make sure to add proper `module="..."` entries
'MunifTanjim/nui.nvim',
-- OPTIONAL:
-- `nvim-notify` is only needed, if you want to use the notification view.
-- If not available, we use `mini` as the fallback
'rcarriga/nvim-notify',
},
},
}

View File

@ -0,0 +1,6 @@
return {
{
'nvim-telescope/telescope-file-browser.nvim',
dependencies = { 'nvim-telescope/telescope.nvim', 'nvim-lua/plenary.nvim' },
},
}

View File

@ -0,0 +1,11 @@
return {
{
'folke/trouble.nvim',
dependencies = { 'nvim-tree/nvim-web-devicons' },
opts = {
-- your configuration comes here
-- or leave it empty to use the default settings
lazy = true,
},
},
}