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 ++++++---- ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/python.lua | 12 ++++-------- 2 files changed, 10 insertions(+), 12 deletions(-) (limited to 'ar/.config/TheSiahxyz/lua/thesiahxyz/plugins') 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, }, diff --git a/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/python.lua b/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/python.lua index 3e53ddb..607d647 100644 --- a/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/python.lua +++ b/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/python.lua @@ -39,14 +39,10 @@ return { end, config = function() require("venv-selector").setup({ - settings = { - options = { - notify_user_on_venv_activation = true, - }, - search = { - venvs = { - command = "fd /bin/python$ ~/.local/share/venvs --full-path", - }, + notify_user_on_activate = true, + search = { + venvs = { + command = "fd /bin/python$ ~/.local/share/venvs --full-path", }, }, }) -- cgit v1.2.3