Add commas to the last item in each nvim-cmp object

This commit is contained in:
Kevin MacMartin 2024-09-03 17:13:27 -04:00
parent 722019a740
commit a97440dadc

View file

@ -50,30 +50,30 @@ if (vim.g.enablecompletion == 1) then
sources = cmp.config.sources({ sources = cmp.config.sources({
{ {
name = "snippy", name = "snippy",
priority = 4 priority = 4,
}, },
{ {
name = "async_path", name = "async_path",
priority = 3 priority = 3,
}, },
{ {
name = "buffer", name = "buffer",
priority = 3, priority = 3,
max_item_count = 5 max_item_count = 5,
}, },
{ {
name = "treesitter", name = "treesitter",
priority = 2, priority = 2,
max_item_count = 5 max_item_count = 5,
}, },
{ {
name = "omni", name = "omni",
priority = 2, priority = 2,
max_item_count = 5 max_item_count = 5,
}, },
{ {