ms-jpq / coq_nvim

Fast as FUCK nvim completion. SQLite, concurrent scheduler, hundreds of hours of optimization.
GNU General Public License v3.0
3.54k stars 100 forks source link

Autocomplete puts a newline #401

Closed Plaoo closed 2 years ago

Plaoo commented 2 years ago

Hi, when I select a suggestion from the autocomplete table, if I select it with enter the cursor is placed in a new line. Is it possible that my choice is directly reproduced on the code or is there a button that allows me to select the suggestion without creating a new line or adding a space?

IllustratedMan-code commented 2 years ago

I can't reproduce this. Can you give use more details about setup? Does it happen for every suggestion? It could be possible that the completion you are selecting contains a newline.

Plaoo commented 2 years ago

Hi, you can find my complete configuration here config.and this is the problem: video

CRAG666 commented 2 years ago

That behavior is probocato by your auto pairs plugin. in fact it happens with many complements of this style it would be useful if this is documented and how to be able to use coq in conjunction with some auto pairs

Plaoo commented 2 years ago

Yes thanks