Purge TabNine
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
-- noinsert: only insert text when selection confirmed
|
-- noinsert: only insert text when selection confirmed
|
||||||
-- noselect: force to select from suggestion
|
-- noselect: force to select from suggestion
|
||||||
-- preview: show more details
|
-- preview: show more details
|
||||||
vim.opt.completeopt = { "menu", "menuone" }
|
vim.opt.completeopt = { "menu", "menuone", "preview" }
|
||||||
|
|
||||||
-- shortmess is used to reduce verbocity
|
-- shortmess is used to reduce verbocity
|
||||||
-- vim.opt.shortmess = vim.opt.shortmess + { c = true }
|
-- vim.opt.shortmess = vim.opt.shortmess + { c = true }
|
||||||
@@ -62,7 +62,6 @@ cmp.setup({
|
|||||||
{ name = "buffer", keyword_length = 2 },
|
{ name = "buffer", keyword_length = 2 },
|
||||||
{ name = "calc" },
|
{ name = "calc" },
|
||||||
{ name = "lua-latex-symbols", option = { cache = true } },
|
{ name = "lua-latex-symbols", option = { cache = true } },
|
||||||
{ name = "cmp_tabnine", keyword_length = 20 },
|
|
||||||
-- { name = "fuzzy_buffer", keyword_length = 4 },
|
-- { name = "fuzzy_buffer", keyword_length = 4 },
|
||||||
}),
|
}),
|
||||||
|
|
||||||
@@ -79,7 +78,6 @@ cmp.setup({
|
|||||||
lualatexsymbols = "",
|
lualatexsymbols = "",
|
||||||
spell = "",
|
spell = "",
|
||||||
fuzzy_buffer = "",
|
fuzzy_buffer = "",
|
||||||
cmp_tabnine = "🖳",
|
|
||||||
}
|
}
|
||||||
item.menu = menu_icon[entry.source.name]
|
item.menu = menu_icon[entry.source.name]
|
||||||
return item
|
return item
|
||||||
|
|||||||
+2
-4
@@ -103,10 +103,8 @@ return {
|
|||||||
wiki_dirs = {
|
wiki_dirs = {
|
||||||
-- neowiki.nvim supports both absolute and relative paths
|
-- neowiki.nvim supports both absolute and relative paths
|
||||||
{ name = "Personal", path = "~/.wiki" },
|
{ name = "Personal", path = "~/.wiki" },
|
||||||
{ name = "RiscVar", path = "~/Documents/HSRM/riscvar.wiki" },
|
{ name = "Ada/Spark", path = "~/science/ada_spark_wiki" },
|
||||||
{ name = "Ada/Spark", path = "~/Documents/Science/ada_spark_wiki" },
|
{ name = "FPGA Book", path = "~/science/FPGA_Design" },
|
||||||
{ name = "FPGA Book", path = "~/Documents/Science/FPGA_Design" },
|
|
||||||
{ name = "Spark-Shell", path = "~/Documents/Programming/spark/spark_shell/spark_shell.wiki" },
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
keys = {
|
keys = {
|
||||||
|
|||||||
Reference in New Issue
Block a user