Any updates so far, generally speaking?
Closed this issue · 0 comments
Hey @maralla great work with completor, I'm quite pleased with it.
There are a couple of things I have noticed and I would like to ask for your feedback, if possible.
With C and C++ autocompletion work for some reason without the need for let g:completor_clang_binary = '/usr/bin/clang'
; I guess completor.vim/pythonx/completers/cpp
kicks in somehow?
So, what's the ideal way to use clangd
or clang
itself?
Another thing I have noticed is the deprecation of racer in favor of rust-analyzer.
Is it possible to create a new setting for it, something along the lines of let g:completor_rust_analyzer_binary = '/path/to/rust-analyzer
?
It comes with a number of flags that users could use to customize their desired output.
Another question is, what is the ideal way to pass arguments to custom filetype_map
?
I'm asking because I'm using typescript-language-server and I would like to control my memory usage, because by default maxTsServerMemory
it's set as undefined
and I would like to reduce it to 4096
for 4GB
of RAM; my computer has only 8GB
therefore I cannot risk it going OOM
.
Here's how I do it for JavaScript and TypeScript:
let g:completor_filetype_map = {}
let g:completor_filetype_map.javascript = {'ft': 'lsp', 'cmd': 'typescript-language-server --stdio'}
let g:completor_filetype_map.typescript = {'ft': 'lsp', 'cmd': 'typescript-language-server --stdio'}
Any suggestions please?
Cheers.