LunarVim / Neovim-from-scratch

📚 A Neovim config designed from scratch to be understandable
https://www.chrisatmachine.com/
GNU General Public License v3.0
5.31k stars 1.18k forks source link

Is check_backspace() necessary? #320

Open frt opened 9 months ago

frt commented 9 months ago

https://github.com/LunarVim/Neovim-from-scratch/blob/a0e07fcba9be979ae2594636a32c881064a3c8f6/lua/user/cmp.lua#L75

Does check_backspace() have some side-effects? If not, it looks like fallback() will be called in any case, doesn't matter what check_backspace() returns.