From 56758415b40197ff1e7dab653ab24af58727aa4e Mon Sep 17 00:00:00 2001 From: Elvis Claros Castro Date: Sat, 17 Aug 2024 18:37:18 -0300 Subject: Feat: update all --- lua/plugins/completition.lua | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'lua/plugins/completition.lua') diff --git a/lua/plugins/completition.lua b/lua/plugins/completition.lua index 7366d7a..ab65317 100644 --- a/lua/plugins/completition.lua +++ b/lua/plugins/completition.lua @@ -27,18 +27,24 @@ return { { "uga-rosa/cmp-dictionary", config = function() + local dict_fl = { + ["*"] = { "/usr/share/dict/words" }, + ft = { + foo = { "./../../spell/dict_es.dict" }, + }, + } local dict = require("cmp_dictionary") dict.setup({ -- The following are default values. + + paths = dict_fl["*"], exact_length = 2, first_case_insensitive = false, - document = false, - document_command = "wn %s -over", - sqlite = false, - max_number_items = -1, - -- capacity = 5, - debug = false, + -- document = { + -- enable = true, + -- command = { "wn", "${label}", "-over" }, + -- }, }) -- dict.switcher({ -- cgit v1.2.3