I am using
NVIM v0.7.2 on Arch Linux. Right now I got a problem with the plugins
When I operate on one file and open another one, the first file stays in the buffer. On usual occasion, this wouldn't be a problem because I would move back and forth between the files when working on project. In my case as I'm doing the
rust-lang/rustlings-course right now, I finish a task and continue with the next one, so after some time I got several buffers open.
The problem is that with each buffer because of
vim-easycomplete, a new instance of
rust-analyzer (language-server) attaches to a buffer. With several file open and only 8Gigs of RAM available, my memory gets eaten up fastly...
So my question is: is there a way to close the when opening a new file with NerdTree?
Thank you for reading!
EDIT: I've observed my memory usage a little more and it turned out that the high memory usage came from multiple instances of
TabNine which is supported by
vim-easycomplete. I turned it off with
let g:easycomplete_tabnine_enable = 0 which is a work-around.