problem inserting new line mini.completion (or it could be the lsp?) #1054
-
so imagine the completion option contains a new line (for example I'm overriding a method from the parent class in python, the completion consists of function signature, new line, and then super().methodname())
actual behavior:
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
the new line character in the editor is shown like this: |
Beta Was this translation helpful? Give feedback.
-
That's the core of the issue right at the start :) Multiline completion candidates are not supported (albeit suggested a long time ago in vim/vim/#2505). And newline symbols in completion candidates indeed are shown as As 'mini.completion' is designed to rely on built-in completion capabilities as much as possible, I am afraid this functionality should be supported there first. |
Beta Was this translation helpful? Give feedback.
-
well, can you think of a patch or work around? |
Beta Was this translation helpful? Give feedback.
That's the core of the issue right at the start :) Multiline completion candidates are not supported (albeit suggested a long time ago in vim/vim/#2505). And newline symbols in completion candidates indeed are shown as
^@
.As 'mini.completion' is designed to rely on built-in completion capabilities as much as possible, I am afraid this functionality should be supported there first.