From 56eb08964887473a8245605f4318defede0a5826 Mon Sep 17 00:00:00 2001 From: dpearre Date: Mon, 7 Oct 2024 22:30:43 -0700 Subject: [PATCH] Added friendly-snippets; added fugitive as popular git integration --- init.lua | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/init.lua b/init.lua index 1991e0b7..34282d3d 100644 --- a/init.lua +++ b/init.lua @@ -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',