Fix empty space on assistant responses line when 'virtualedit=all' is set.#148
Conversation
|
If you decide to merge #151, then this PR is not needed. |
I cannot reproduce it, in my environments there is never a space before the response text. Even from the change you made to the code I don't get what would be a difference. Could you describe more your environment, configuration and steps how you can reproduce it? |
|
Looks like it's because of |
|
I see. This would however solve the issue just for the chat, not for I did some quick testing and this combination seems to be working fine for any mode:
|
467e001 to
d626067
Compare
| \ "user_selection": l:selection, | ||
| \ "is_selection": l:is_selection, | ||
| \ "command_type": 'complete', | ||
| \ "command_type": 'edit', |
There was a problem hiding this comment.
@madox2 this change is unrelated to this PR, but it's useful for my change and looks like an omission after the role changes?
|
Thank you for testing! |
|
Looks good, let me fix tests for you |
This make copying easier.
Before this change the AI would respond like this:
Now it responds like this: