WIP: Switch to NixOS #5
2 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue