From 4024bd9e9cc524db71cf1b7ece5a07d93eda85db Mon Sep 17 00:00:00 2001 From: Elvis Claros Castro Date: Sun, 7 Jan 2024 10:29:49 -0300 Subject: Fix: actualizacions --- lua/plugins/completition.lua | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'lua/plugins/completition.lua') diff --git a/lua/plugins/completition.lua b/lua/plugins/completition.lua index 795b016..b659fb7 100644 --- a/lua/plugins/completition.lua +++ b/lua/plugins/completition.lua @@ -24,6 +24,31 @@ return { }, config = true, }, + { + "uga-rosa/cmp-dictionary", + config = function() + local dict = require("cmp_dictionary") + + dict.setup({ + -- The following are default values. + exact = 2, + first_case_insensitive = false, + document = false, + document_command = "wn %s -over", + sqlite = false, + max_items = -1, + capacity = 5, + debug = false, + }) + + dict.switcher({ + spelllang = { + es = "./../../spell/dic_es.dict", + }, + }) + end, + }, + }, event = "VeryLazy", config = function() -- cgit v1.2.3