added a few more plugins

This commit is contained in:
Joseph Tongay 2023-10-22 16:53:16 -05:00
parent 01a1ebed38
commit d4afbc6283
2 changed files with 26 additions and 1 deletions

View File

@ -67,6 +67,12 @@ vim.opt.rtp:prepend(lazypath)
require('lazy').setup({
-- NOTE: First, some plugins that don't require any configuration
-- Auto Pair quotes/parens/brackets/etc.
'jiangmiao/auto-pairs',
-- VimBeGood, practing and learning vim control
'ThePrimeagen/vim-be-good',
-- Git related plugins
'tpope/vim-fugitive',
'tpope/vim-rhubarb',
@ -381,6 +387,10 @@ vim.keymap.set('n', ']d', vim.diagnostic.goto_next, { desc = 'Go to next diagnos
vim.keymap.set('n', '<leader>e', vim.diagnostic.open_float, { desc = 'Open floating diagnostic message' })
vim.keymap.set('n', '<leader>q', vim.diagnostic.setloclist, { desc = 'Open diagnostics list' })
vim.diagnostic.config {
update_in_insert = true
}
-- [[ Configure LSP ]]
-- This function gets run when an LSP connects to a particular buffer.
local on_attach = function(_, bufnr)
@ -524,4 +534,4 @@ cmp.setup {
}
-- The line beneath this is called `modeline`. See `:help modeline`
-- vim: ts=2 sts=2 sw=2 et
-- vim: ts=2 sts=2 sw=2 et

View File

@ -0,0 +1,15 @@
-- Unless you are still migrating, remove the deprecated commands from v1.x
vim.cmd([[ let g:neo_tree_remove_legacy_commands = 1 ]])
return {
"nvim-neo-tree/neo-tree.nvim",
version = "*",
dependencies = {
"nvim-lua/plenary.nvim",
"nvim-tree/nvim-web-devicons", -- not strictly required, but recommended
"MunifTanjim/nui.nvim",
},
config = function ()
require('neo-tree').setup {}
end,
}