diff --git a/nvim/.config/nvim/completion.lua b/nvim/.config/nvim/completion.lua index e82857d..5af8a0d 100644 --- a/nvim/.config/nvim/completion.lua +++ b/nvim/.config/nvim/completion.lua @@ -6,21 +6,6 @@ local has_words_before = function() end local luasnip = require 'luasnip' -local tabnine = require('cmp_tabnine.config') - -tabnine:setup({ - max_lines = 1000, - max_num_results = 20, - sort = true, - run_on_every_keystroke = true, - snippet_placeholder = '..', - ignored_file_types = { - -- default is not to ignore - -- uncomment to ignore in lua: - -- lua = true - }, - show_prediction_strength = true -}) cmp.setup { snippet = { @@ -60,7 +45,6 @@ cmp.setup { end, { "i", "s" }), }, sources = { - { name = 'cmp_tabnine' }, { name = 'buffer' }, { name = 'nvim_lsp' }, -- { name = 'spell' }, diff --git a/nvim/.config/nvim/plugs.vim b/nvim/.config/nvim/plugs.vim index e7f2a5e..9880aff 100644 --- a/nvim/.config/nvim/plugs.vim +++ b/nvim/.config/nvim/plugs.vim @@ -36,7 +36,6 @@ Plug 'rafi/awesome-vim-colorschemes' Plug 'hrsh7th/nvim-cmp', { 'branch': 'main' } Plug 'hrsh7th/cmp-nvim-lsp', { 'branch': 'main' } Plug 'hrsh7th/cmp-buffer', { 'branch': 'main' } -Plug 'tzachar/cmp-tabnine', { 'branch': 'main', 'do': './install.sh' } Plug 'L3MON4D3/LuaSnip', {'tag': 'v1.*'} " Rust support