From 55eda12a5e8ec3920bc7f78e1949c498787b84bd Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Sat, 7 Jun 2025 12:12:59 +0900 Subject: updates --- ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/cmp.lua | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/cmp.lua') diff --git a/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/cmp.lua b/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/cmp.lua index 10ffb47..2dd46f3 100644 --- a/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/cmp.lua +++ b/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/cmp.lua @@ -155,11 +155,13 @@ return { vim.api.nvim_set_hl(0, "CmpItemKindCopilot", { fg = "#6CC644" }) require("cmp_dictionary").setup({ - paths = { - "/usr/share/dict/words", - vim.fn.expand(vim.fn.stdpath("config") .. "/lua/thesiahxyz/spells/en.utf-8.add"), - }, + paths = { "/usr/share/dict/words" }, exact_length = 2, + first_case_insensitive = true, + document = { + enable = true, + command = { "wn", "${label}", "-over" }, + }, }) end, }, -- cgit v1.2.3