Replies: 1 comment 1 reply
-
|
OK, I think set it to false is a better choice. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
In insert model, when I need to press <Enter> to go to the next line, it will select the first completion option , even if I don't press <Tab> to select. And I had to press <C-w> to close the completion window and then press <Enter>
I'm wondering why even though I don't press <Tab> to enter the completion window, the <Enter> key still makes the completion selection instead of a new line.
When i read source code, in "cmp.lua", I find code:
If "select = true" was set, why does this behavior happen? Is there anything wrong? And how can i solove it?
here is a example:


Now I want to press Enter to write the main block, but if I press Enter, it will select the first completion:
Beta Was this translation helpful? Give feedback.
All reactions