2 files changed,
9 insertions(+),
0 deletions(-)
Author:
Smirnov Olexander
ss2316544@gmail.com
Committed at:
2022-06-03 23:28:55 +0300
Parent:
27af7fb
jump to
| M | lua/configs/cmp.lua |
| M | lua/plugins.lua |
M
lua/configs/cmp.lua
@@ -14,6 +14,14 @@ map_char = { tex = "" },
} ) +cmp.setup.filetype({ "gitcommit", "NeogitCommitMessage" }, { + sources = { + { name = "buffer" }, + { name = "emoji" }, + { name = "luasnip" }, + }, +}) + cmp.setup { snippet = { expand = function(args)
M
lua/plugins.lua
@@ -105,6 +105,7 @@ config = u.get_config "configs.cmp",
requires = { { "hrsh7th/cmp-buffer", after = "nvim-cmp" }, { "saadparwaiz1/cmp_luasnip", after = "nvim-cmp" }, + { "hrsh7th/cmp-emoji", after = "nvim-cmp" }, { "hrsh7th/cmp-path", after = "nvim-cmp" }, { "hrsh7th/cmp-nvim-lsp", module = "cmp_nvim_lsp" }, },