From 6bd390a24c1bb07f9d4fcd26a5cb66ae783eb251 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Mon, 5 Sep 2022 07:00:56 -0500 Subject: [PATCH] refactor(nvim): sane usage of cmp sources --- .../primary/config/lua/plugins/configs/_cmp.lua | 8 -------- 1 file changed, 8 deletions(-) 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 325a2854..932e45b2 100755 --- a/dots/.nvim-environments/primary/config/lua/plugins/configs/_cmp.lua +++ b/dots/.nvim-environments/primary/config/lua/plugins/configs/_cmp.lua @@ -221,12 +221,6 @@ cmp.setup.filetype("gitcommit", { }), }) -cmp.setup.filetype("NeogitCommitMesssage", { - sources = cmp.config.sources({ - { name = "conventionalcommits", priority = 20 }, - }), -}) - cmp.setup.filetype("toml", { sources = cmp.config.sources({ { name = "crates" }, @@ -238,7 +232,6 @@ cmp.setup.cmdline("/", { mapping = cmp.mapping.preset.cmdline(), sources = cmp.config.sources({ { name = "fuzzy_buffer" }, - { name = "cmdline_history" }, }), }) @@ -246,7 +239,6 @@ cmp.setup.cmdline("?", { mapping = cmp.mapping.preset.cmdline(), sources = cmp.config.sources({ { name = "fuzzy_buffer" }, - { name = "cmdline_history" }, }), })