You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 13, 2021. It is now read-only.
Repository navigation
This repository was archived by the owner on Oct 13, 2021. It is now read-only.
lua << EOF
local nvim_lsp =require('lspconfig')
local on_attach =function(_, bufnr)
require'completion'.on_attach()
end
local servers = {'pyright', 'clangd'}
for _, server inipairs(servers) do
nvim_lsp[server].setup {
on_attach = on_attach,
}
end
EOF
" Use completion-nvim in every bufferautocmdBufEnter*lua require'completion'.on_attach()
" Use <Tab> and <S-Tab> to navigate through popup menuinoremap<expr><Tab>pumvisible() ? "\<C-n>" : "\<Tab>"inoremap<expr><S-Tab>pumvisible() ? "\<C-p>" : "\<S-Tab>"" Set completeopt to have a better completion experiencesetcompleteopt=menuone,noinsert,noselect
" Avoid showing message extra message when using completionsetshortmess+=cimap<tab><Plug>(completion_smart_tab)imap<s-tab><Plug>(completion_smart_s_tab)
How to reproduce
On pressing tab, don't get autocomplete.
The important thing is completion-nvim is broken currently.
It is not maintained well.
I recommend for you to use other auto completion plugins instead.
Activity
Shougo commentedon Oct 6, 2021
Please read other issues. Your issue is already duplicated.
#403
#399
prsh11 commentedon Oct 6, 2021
I have tried reading them. I couldn't reproduce from them. Can you tell me what I am doing wrong in my config?
Shougo commentedon Oct 6, 2021
The important thing is completion-nvim is broken currently.
It is not maintained well.
I recommend for you to use other auto completion plugins instead.
Shougo commentedon Oct 8, 2021
Yes. You are right. And the fix is already exists.
#400
But it is not merged yet... I don't know why.
prsh11 commentedon Oct 8, 2021
I am using neovim nightly, for treesitter. That's why it's not working