diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-06-07 12:12:59 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-06-07 12:12:59 +0900 |
| commit | 55eda12a5e8ec3920bc7f78e1949c498787b84bd (patch) | |
| tree | e7b2c95c127d9e4ddc0c0305737b4634b4616352 /ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/cmp.lua | |
| parent | 7ebd222b1de38e827172d7b158a25c7c73684f2f (diff) | |
updates
Diffstat (limited to 'ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/cmp.lua')
| -rw-r--r-- | ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/cmp.lua | 10 |
1 files changed, 6 insertions, 4 deletions
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, }, |
