diff --git a/dots/.nvim-environments/primary/config/lua/plugins/configs/_cmp.lua b/dots/.nvim-environments/primary/config/lua/plugins/configs/_cmp.lua index efade92a..63be092b 100755 --- a/dots/.nvim-environments/primary/config/lua/plugins/configs/_cmp.lua +++ b/dots/.nvim-environments/primary/config/lua/plugins/configs/_cmp.lua @@ -24,6 +24,7 @@ cmp.setup({ rg = { symbol = " ", name = "Ripgrep", hl_group = "Ripgrep" }, npm = { symbol = " ", name = "Npm,", hl_group = "Npm," }, conventionalcommits = { symbol = " ", name = "Commit", hl_group = "Commit" }, + spell = { symbol = " ", name = "Spell", hl_group = "Spell" }, } local selection = selections[entry.source.name] @@ -128,7 +129,7 @@ cmp.setup({ { name = "neorg" }, { name = "calc" }, { name = "npm", keyword_length = 2 }, - { name = "dictionary", keyword_length = 2 }, + { name = "spell", keyword_length = 2 }, }), sorting = { comparators = { diff --git a/dots/.nvim-environments/primary/config/lua/plugins/plugins.lua b/dots/.nvim-environments/primary/config/lua/plugins/plugins.lua index 888abd85..9b8d783c 100755 --- a/dots/.nvim-environments/primary/config/lua/plugins/plugins.lua +++ b/dots/.nvim-environments/primary/config/lua/plugins/plugins.lua @@ -132,6 +132,7 @@ return packer.startup({ CmpCustomSelectionRipgrep = { fg = colors.fujiWhite, bg = colors.dragonBlue }, CmpCustomSelectionNpm = { fg = colors.fujiWhite, bg = colors.peachRed }, CmpCustomSelectionCommit = { fg = colors.fujiWhite, bg = colors.peachRed }, + CmpCustomSelectionSpell = { fg = colors.fujiWhite, bg = colors.waveRed }, TelescopeBorder = { bg = "NONE" }, TelescopePromptBorder = { bg = "NONE" }, @@ -406,6 +407,7 @@ return packer.startup({ "David-Kunz/cmp-npm", "lukas-reineke/cmp-rg", "onsails/lspkind.nvim", + "f3fora/cmp-spell", }, config = function() require("plugins.configs._cmp")