Open ibraheemdev opened 3 years ago
@ibraheemdev if I understand you correctly, you do not want completion on strings? if so then perhaps you could do something like this?
local chain_complete_list = {
rust = {
string = {},
comment = {},
default = {
{complete_items = {'lsp', 'snippet'}},
},
}
}
local on_attach = function(client,buffer)
require'completion'.on_attach({
chain_complete_list = chain_complete_list,
})
I'm running neovim 0.5 with the native LSP and rust-analyzer, and I am running into an issue where I am still getting autocomplete while typing withing double quoted strings. It seems to only occur within rust macro invocations: