From 5df773756e890b0443cc555c35c7018e392615eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nina=20Chl=C3=B3e=20Kassandra=20Rei=C3=9F?= Date: Thu, 18 Jun 2026 12:07:14 +0200 Subject: [PATCH] Purge TabNine --- lua/code-completion.lua | 4 +--- lua/plugins.lua | 6 ++---- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/lua/code-completion.lua b/lua/code-completion.lua index 657655e..0a1cb0f 100644 --- a/lua/code-completion.lua +++ b/lua/code-completion.lua @@ -2,7 +2,7 @@ -- noinsert: only insert text when selection confirmed -- noselect: force to select from suggestion -- preview: show more details -vim.opt.completeopt = { "menu", "menuone" } +vim.opt.completeopt = { "menu", "menuone", "preview" } -- shortmess is used to reduce verbocity -- vim.opt.shortmess = vim.opt.shortmess + { c = true } @@ -62,7 +62,6 @@ cmp.setup({ { name = "buffer", keyword_length = 2 }, { name = "calc" }, { name = "lua-latex-symbols", option = { cache = true } }, - { name = "cmp_tabnine", keyword_length = 20 }, -- { name = "fuzzy_buffer", keyword_length = 4 }, }), @@ -79,7 +78,6 @@ cmp.setup({ lualatexsymbols = "󰿈", spell = "󰘝", fuzzy_buffer = "", - cmp_tabnine = "🖳", } item.menu = menu_icon[entry.source.name] return item diff --git a/lua/plugins.lua b/lua/plugins.lua index 4903d4d..adac980 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -103,10 +103,8 @@ return { wiki_dirs = { -- neowiki.nvim supports both absolute and relative paths { name = "Personal", path = "~/.wiki" }, - { name = "RiscVar", path = "~/Documents/HSRM/riscvar.wiki" }, - { name = "Ada/Spark", path = "~/Documents/Science/ada_spark_wiki" }, - { name = "FPGA Book", path = "~/Documents/Science/FPGA_Design" }, - { name = "Spark-Shell", path = "~/Documents/Programming/spark/spark_shell/spark_shell.wiki" }, + { name = "Ada/Spark", path = "~/science/ada_spark_wiki" }, + { name = "FPGA Book", path = "~/science/FPGA_Design" }, }, }, keys = {