mirror of
https://github.com/tiyn/dotfiles.git
synced 2026-03-28 10:24:47 +01:00
NVIM: Improved structure and improved lazy loading
This commit is contained in:
@@ -4,22 +4,13 @@ return {
|
||||
dependencies = {
|
||||
"nvim-lua/plenary.nvim",
|
||||
"onsails/lspkind-nvim",
|
||||
-- cmp sources
|
||||
"hrsh7th/cmp-buffer",
|
||||
"hrsh7th/cmp-path",
|
||||
"uga-rosa/cmp-dictionary",
|
||||
"lukas-reineke/cmp-under-comparator",
|
||||
-- luasnip
|
||||
{
|
||||
"l3mon4d3/luasnip",
|
||||
config = function()
|
||||
require("luasnip.loaders.from_snipmate").lazy_load()
|
||||
end,
|
||||
version = "v2.*",
|
||||
-- build = "make install_jsregexp",
|
||||
dependencies = "saadparwaiz1/cmp_luasnip",
|
||||
},
|
||||
"l3mon4d3/luasnip",
|
||||
},
|
||||
lazy = false,
|
||||
config = function()
|
||||
local cmp = require("cmp")
|
||||
cmp.setup({
|
||||
|
||||
Reference in New Issue
Block a user