diff options
Diffstat (limited to 'ar/.config/TheSiahxyz/lua/thesiahxyz/plugins')
| -rw-r--r-- | ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/cmp.lua | 10 | ||||
| -rw-r--r-- | ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/python.lua | 12 |
2 files changed, 10 insertions, 12 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, }, 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", }, }, }) |
