mirror of
https://git.korhonen.cc/FunctionalHacker/dotfiles.git
synced 2024-11-18 21:27:42 +00:00
Neovim: add friendly-snippets
This commit is contained in:
parent
00d8d65c49
commit
312634e010
@ -51,3 +51,6 @@ cmp.setup {
|
|||||||
{ name = 'luasnip' },
|
{ 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 'hrsh7th/cmp-path' -- Path source for nvim-cmp
|
||||||
use 'saadparwaiz1/cmp_luasnip' -- Snippets source for nvim-cmp
|
use 'saadparwaiz1/cmp_luasnip' -- Snippets source for nvim-cmp
|
||||||
use 'L3MON4D3/LuaSnip' -- Snippets plugin
|
use 'L3MON4D3/LuaSnip' -- Snippets plugin
|
||||||
|
use "rafamadriz/friendly-snippets" -- Snippets collection
|
||||||
|
|
||||||
-- treesitter syntax highlight
|
-- treesitter syntax highlight
|
||||||
use {'nvim-treesitter/nvim-treesitter', run = ':TSUpdate'}
|
use {'nvim-treesitter/nvim-treesitter', run = ':TSUpdate'}
|
||||||
|
Loading…
Reference in New Issue
Block a user