Added friendly-snippets; added fugitive as popular git integration

This commit is contained in:
dpearre 2024-10-07 22:30:43 -07:00
parent a00de0384d
commit 56eb089648
1 changed files with 7 additions and 6 deletions

View File

@ -282,6 +282,7 @@ vim.opt.rtp:prepend(lazypath)
require('lazy').setup({
-- NOTE: Plugins can be added with a link (or for a github repo: 'owner/repo' link).
'tpope/vim-sleuth', -- Detect tabstop and shiftwidth automatically
'tpope/vim-fugitive', -- git integration
'mbbill/undotree', -- recommended undo history system
{
'nvim-tree/nvim-tree.lua',
@ -810,12 +811,12 @@ require('lazy').setup({
-- `friendly-snippets` contains a variety of premade snippets.
-- See the README about individual language/framework/plugin snippets:
-- https://github.com/rafamadriz/friendly-snippets
-- {
-- 'rafamadriz/friendly-snippets',
-- config = function()
-- require('luasnip.loaders.from_vscode').lazy_load()
-- end,
-- },
{
'rafamadriz/friendly-snippets',
config = function()
require('luasnip.loaders.from_vscode').lazy_load()
end,
},
},
},
'saadparwaiz1/cmp_luasnip',