neoclide / coc.nvim

Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
Other
24.37k stars 956 forks source link

input tab when set tab as the trigger #4838

Closed gorliver closed 9 months ago

gorliver commented 9 months ago

Inserting tabs doen't work when setting tab as the trigger of completion. This is not a bug but I can't find a configuration to solve it. Many thanks for your help!

image
fannheyward commented 9 months ago

You need to add CheckBackspace function to your vimrc, check :h coc-completion-example or search CheckBackspace in https://github.com/neoclide/coc.nvim#example-vim-configuration.