When I open neovim, system slows down. Even neovim's itself. switching between buffers take one or two seconds. I think this is because of autocompletion system. I use Coc. When I run neovim, a process starts with name Tabnine deep local
that uses much RAM and as I know this process is used for AutoCompletion system. of course when I deleted coc and restart neovim, this process started again. My init.vim
plugin part:
Plug 'neoclide/coc.nvim', {'branch': 'release'}
Plug 'nvim-lua/plenary.nvim'
Plug 'lewis6991/gitsigns.nvim'
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
Plug 'junegunn/fzf.vim'
Plug 'hoob3rt/lualine.nvim'
Plug 'norcalli/nvim-colorizer.lua'
Plug 'akinsho/nvim-bufferline.lua'
Plug 'preservim/nerdtree'
Plug 'tpope/vim-commentary'
Plug 'kyazdani42/nvim-web-devicons'
Plug 'tpope/vim-commentary'
Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'} " We recommend updating the parsers on update
Plug 'windwp/nvim-autopairs'
Plug 'ayu-theme/ayu-vim'
And this is the tabnine process in htop:
Now my question is this, how can I fasten up system with having auto completion?
I use debian sid.
packer
as your plugin manager?cmp-tabnine
or did you install it with coc?apt list --installed | grep tabnine
and got nothing.tabnine
then, I'd just remove its files:rm -rf ~/.local/share/nvim/site/pack/packer/start/cmp-tabnine