summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorChris Patti <feoh@feoh.org>2023-05-16 15:26:14 -0400
committerGitHub <noreply@github.com>2023-05-16 15:26:14 -0400
commita694c380d028ae577c1af48b734432b1b4eb4a56 (patch)
treef6475343b5a21679520d41908d9ab3fbd0cbf8b6 /init.lua
parentded185411ffa0573a1096e5b3abad28539d89aa8 (diff)
parent55c52ce45bea8395e79d43dc6e5490c23b06a95b (diff)
Merge pull request #296 from SamPosh/patch-3
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/init.lua b/init.lua
index e30bc32..71e1ae5 100644
--- a/init.lua
+++ b/init.lua
@@ -94,7 +94,7 @@ require('lazy').setup({
{
-- Autocompletion
'hrsh7th/nvim-cmp',
- dependencies = { 'hrsh7th/cmp-nvim-lsp', 'L3MON4D3/LuaSnip', 'saadparwaiz1/cmp_luasnip' },
+ dependencies = { 'hrsh7th/cmp-nvim-lsp', 'L3MON4D3/LuaSnip', 'saadparwaiz1/cmp_luasnip',"rafamadriz/friendly-snippets", },
},
-- Useful plugin to show you pending keybinds.
@@ -458,7 +458,7 @@ mason_lspconfig.setup_handlers {
-- nvim-cmp setup
local cmp = require 'cmp'
local luasnip = require 'luasnip'
-
+require("luasnip.loaders.from_vscode").lazy_load()
luasnip.config.setup {}
cmp.setup {