hrsh7th / nvim-cmp

A completion plugin for neovim coded in Lua.
MIT License
7.53k stars 377 forks source link

How can I be prompted for the recently entered characters? I can still be prompted after I close nvim. #1752

Open whxcode opened 8 months ago

whxcode commented 8 months ago

I used oco.nvim for completion before, and it has a function that is particularly useful. After I open nvim and enter some characters or words, after I switch to another buffer, I can still prompt for completion by entering the associated characters. Similar to hrsh7th /cmp-buffer plug-in function; but not exactly the same, because it can prompt again after closing nvim and opening it again. Can nvim-cmp achieve similar effects? Thanks.