diff --git a/init.lua b/init.lua index 64ecb75..6503f20 100644 --- a/init.lua +++ b/init.lua @@ -170,19 +170,4 @@ if vim.g.neovide then vim.g.neovide_scale_factor = 1.0 end -local tabnine = require("cmp_tabnine.config") - -tabnine:setup({ - max_lines = 50, - max_num_results = 5, - sort = true, - run_on_every_keystroke = true, - snippet_placeholder = "..", - ignored_file_types = { - html = true, - css = true, - }, - show_prediction_strength = false, -}) - vim.cmd("source ~/.config/nvim/viml/legacyconf.vim") diff --git a/lua/code-completion.lua b/lua/code-completion.lua index be5a4e5..588a0e9 100644 --- a/lua/code-completion.lua +++ b/lua/code-completion.lua @@ -16,10 +16,10 @@ cmp.setup({ }, -- Add borders to the windows - window = { - completion = cmp.config.window.bordered(), - documentation = cmp.config.window.bordered(), - }, + -- window = { + -- completion = cmp.config.window.bordered(), + -- documentation = cmp.config.window.bordered(), + -- }, -- mapping mapping = cmp.mapping.preset.insert({ @@ -50,13 +50,11 @@ cmp.setup({ { name = "nvim_lsp", keyword_length = 2 }, { name = "nvim_lsp_signature_help" }, { name = "nvim_lua", keyword_length = 4 }, - { name = "buffer", keyword_length = 6 }, + { name = "buffer", keyword_length = 1 }, { name = "calc" }, { name = "lua-latex-symbols", option = { cache = true } }, - { name = "doxygen" }, - { name = "cmp_tabnine", keyword_length = 5 }, - { name = "spell", option = { keep_all_entries = false }, keyword_length = 2 }, - { name = "fuzzy_buffer", keyword_length = 3 }, + -- { name = "spell", option = { keep_all_entries = false }, keyword_length = 2 }, + { name = "fuzzy_buffer", keyword_length = 4 }, }), -- add formatting of the different sources @@ -68,10 +66,9 @@ cmp.setup({ ultisnips = "⋗", path = "🌐", calc = "Σ", + buffer = "📚", lualatexsymbols = "𝕋", - cmp_tabnine = "⍟", - spell = "📚", - doxygen = "O₂", + -- spell = "📚", fuzzy_buffer = "📄", } item.menu = menu_icon[entry.source.name] diff --git a/lua/plugins.lua b/lua/plugins.lua index 2d9c729..d809371 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -67,14 +67,6 @@ return require("packer").startup(function(use) requires = { "nvim-tree/nvim-web-devicons" }, }) use("hiroakis/cyberspace.vim") -- I'm feeling cyber - use({ - "paopaol/cmp-doxygen", - requires = { - "nvim-treesitter/nvim-treesitter", - "nvim-treesitter/nvim-treesitter-textobjects", - }, - }) - use({ "tzachar/cmp-tabnine", run = "./install.sh", requires = "hrsh7th/nvim-cmp" }) use("f3fora/cmp-spell") use({ "nvim-telescope/telescope-fzf-native.nvim", run = "make" }) use({ "tzachar/cmp-fuzzy-buffer", requires = { "hrsh7th/nvim-cmp", "tzachar/fuzzy.nvim" } }) diff --git a/spell/de.utf-8.add b/spell/de.utf-8.add index b9572b0..6e56027 100644 --- a/spell/de.utf-8.add +++ b/spell/de.utf-8.add @@ -266,3 +266,27 @@ Latency PDLT SWT Performancegewinn +auch +toolchain +EDA +Entwicklungswerkzeuge +Progenitor +software +concept +proof +VexRISCV +litex +VexRiscv +Vivado +FPGAs +Low +OpenWRT +VecRiscv +buildroot +High +TPM +modules +platform +trusted +VE +Waveform diff --git a/spell/de.utf-8.add.spl b/spell/de.utf-8.add.spl index 3b47e50..c04527e 100644 Binary files a/spell/de.utf-8.add.spl and b/spell/de.utf-8.add.spl differ