jalvesaq / cmp-nvim-r

GNU General Public License v3.0
18 stars 1 forks source link

Autocomplete trigger on new line following the `+` or `|>` operators #10

Closed PMassicotte closed 11 months ago

PMassicotte commented 12 months ago

I've observed an issue with the autocomplete functionality that requires me to manually trigger it using ctrl-space when I move to a new line that ends with either a + or |>.

Peek 2023-10-26 07-47

Any idea to trigger the autocomplete on a new line automatically as I type?

jalvesaq commented 12 months ago

This bug was introduced by https://github.com/jalvesaq/cmp-nvim-r/commit/4deaee45c9b10b03c0ee02f1924a4550dd921594 and maybe it would be fixed if the completion was reset at this point: https://github.com/jalvesaq/cmp-nvim-r/blob/58b5ecd4f7babe0bbf5f7e73a1a51b3daf309bd8/lua/cmp_nvim_r/init.lua#L638

PMassicotte commented 11 months ago

Thank you !