Remove tabnine
This commit is contained in:
parent
2d33dd2ca1
commit
be7060c638
2 changed files with 0 additions and 17 deletions
|
@ -6,21 +6,6 @@ local has_words_before = function()
|
||||||
end
|
end
|
||||||
|
|
||||||
local luasnip = require 'luasnip'
|
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 {
|
cmp.setup {
|
||||||
snippet = {
|
snippet = {
|
||||||
|
@ -60,7 +45,6 @@ cmp.setup {
|
||||||
end, { "i", "s" }),
|
end, { "i", "s" }),
|
||||||
},
|
},
|
||||||
sources = {
|
sources = {
|
||||||
{ name = 'cmp_tabnine' },
|
|
||||||
{ name = 'buffer' },
|
{ name = 'buffer' },
|
||||||
{ name = 'nvim_lsp' },
|
{ name = 'nvim_lsp' },
|
||||||
-- { name = 'spell' },
|
-- { name = 'spell' },
|
||||||
|
|
|
@ -36,7 +36,6 @@ Plug 'rafi/awesome-vim-colorschemes'
|
||||||
Plug 'hrsh7th/nvim-cmp', { 'branch': 'main' }
|
Plug 'hrsh7th/nvim-cmp', { 'branch': 'main' }
|
||||||
Plug 'hrsh7th/cmp-nvim-lsp', { 'branch': 'main' }
|
Plug 'hrsh7th/cmp-nvim-lsp', { 'branch': 'main' }
|
||||||
Plug 'hrsh7th/cmp-buffer', { 'branch': 'main' }
|
Plug 'hrsh7th/cmp-buffer', { 'branch': 'main' }
|
||||||
Plug 'tzachar/cmp-tabnine', { 'branch': 'main', 'do': './install.sh' }
|
|
||||||
Plug 'L3MON4D3/LuaSnip', {'tag': 'v1.*'}
|
Plug 'L3MON4D3/LuaSnip', {'tag': 'v1.*'}
|
||||||
|
|
||||||
" Rust support
|
" Rust support
|
||||||
|
|
Loading…
Reference in a new issue