From 35f9343af5d43059bee2966b38eacbcc4973dd67 Mon Sep 17 00:00:00 2001 From: Nybkox Date: Sat, 29 Jun 2024 15:54:29 +0200 Subject: [PATCH] feat: update cmp and lualine spec to match codeium style --- lua/lazyvim/plugins/extras/coding/supermaven.lua | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/lua/lazyvim/plugins/extras/coding/supermaven.lua b/lua/lazyvim/plugins/extras/coding/supermaven.lua index 18c78904..6caa0685 100644 --- a/lua/lazyvim/plugins/extras/coding/supermaven.lua +++ b/lua/lazyvim/plugins/extras/coding/supermaven.lua @@ -13,7 +13,19 @@ return { "hrsh7th/nvim-cmp", optional = true, opts = function(_, opts) - table.insert(opts.sources, { name = "supermaven", priority = 100 }) + table.insert(opts.sources, 1, { + name = "supermaven", + group_index = 1, + priority = 100, + }) + end, + }, + { + "nvim-lualine/lualine.nvim", + optional = true, + event = "VeryLazy", + opts = function(_, opts) + table.insert(opts.sections.lualine_x, 2, LazyVim.lualine.cmp_source("supermaven")) end, }, {