Skip to content

Commit

Permalink
Added friendly snippet support
Browse files Browse the repository at this point in the history
  • Loading branch information
SamPosh authored May 2, 2023
1 parent 0470d07 commit 55c52ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,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.
Expand Down Expand Up @@ -447,7 +447,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 {
Expand Down

0 comments on commit 55c52ce

Please sign in to comment.