From 5265a472c977bb693e04774c17b697912329453b Mon Sep 17 00:00:00 2001 From: aceforeverd Date: Sat, 28 Sep 2024 21:54:24 +0800 Subject: [PATCH] rm cmp-dictionary --- lua/aceforeverd/config/cmp.lua | 2 -- lua/aceforeverd/plugins/init.lua | 17 +---------------- 2 files changed, 1 insertion(+), 18 deletions(-) diff --git a/lua/aceforeverd/config/cmp.lua b/lua/aceforeverd/config/cmp.lua index 88c340d..88cec5f 100644 --- a/lua/aceforeverd/config/cmp.lua +++ b/lua/aceforeverd/config/cmp.lua @@ -97,7 +97,6 @@ function M.setup() }, { name = 'emoji' }, { name = 'tmux', keyword_length = 3, max_item_count = 10 }, - { name = 'dictionary', keyword_length = 3 }, { name = "crates" }, } @@ -143,7 +142,6 @@ function M.setup() look = '[Look]', emoji = '[Emoji]', treesitter = '[TreeSitter]', - dictionary = '[Dictionary]', tmux = '[Tmux]', git = '[Git]', crates = '[Crates]', diff --git a/lua/aceforeverd/plugins/init.lua b/lua/aceforeverd/plugins/init.lua index c597622..e7cc244 100644 --- a/lua/aceforeverd/plugins/init.lua +++ b/lua/aceforeverd/plugins/init.lua @@ -403,20 +403,6 @@ M.plugin_list = { end, lazy = true, }, - { - 'uga-rosa/cmp-dictionary', - config = function() - local dict = require('cmp_dictionary') - - dict.setup({ - exact_length = 2, - paths = { - '/usr/share/dict/words', - } - }) - end, - lazy = true, - }, { 'petertriho/cmp-git', config = function() @@ -434,7 +420,6 @@ M.plugin_list = { 'hrsh7th/cmp-buffer', 'hrsh7th/cmp-path', 'hrsh7th/cmp-emoji', - 'uga-rosa/cmp-dictionary', 'ray-x/cmp-treesitter', 'andersevenrud/cmp-tmux', 'petertriho/cmp-git', @@ -1167,7 +1152,7 @@ M.plugin_list = { config = function() require('grug-far').setup({ engine = 'ripgrep' - }); + }) end, cmd = { 'GrugFar' } },