Neovim: add friendly-snippets

main
Marko Korhonen 2 years ago
parent 00d8d65c49
commit 312634e010

@ -51,3 +51,6 @@ cmp.setup {
{ name = 'luasnip' },
},
}
-- load friendly-snippets to luasnip
require("luasnip/loaders/from_vscode").lazy_load()

@ -70,6 +70,7 @@ require('packer').startup(function()
use 'hrsh7th/cmp-path' -- Path source for nvim-cmp
use 'saadparwaiz1/cmp_luasnip' -- Snippets source for nvim-cmp
use 'L3MON4D3/LuaSnip' -- Snippets plugin
use "rafamadriz/friendly-snippets" -- Snippets collection
-- treesitter syntax highlight
use {'nvim-treesitter/nvim-treesitter', run = ':TSUpdate'}

Loading…
Cancel
Save