diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2026-02-28 06:59:08 +0800 |
|---|---|---|
| committer | zeertzjq <zeertzjq@outlook.com> | 2026-02-28 07:04:08 +0800 |
| commit | 453dfbf7d668061b44d39d3aee6d372c4d3c31cf (patch) | |
| tree | 6da1541782a0b4b9970a18df0d948b53389effc3 /runtime/lua/vim/provider/python.lua | |
| parent | 4a4de73043060a4c0f8e91bc69ff62c69fcd8702 (diff) | |
| download | rneovim-453dfbf7d668061b44d39d3aee6d372c4d3c31cf.tar.gz rneovim-453dfbf7d668061b44d39d3aee6d372c4d3c31cf.tar.bz2 rneovim-453dfbf7d668061b44d39d3aee6d372c4d3c31cf.zip | |
vim-patch:9.1.0535: newline escape wrong in ex mode
Problem: newline escape wrong in ex mode (Konrad Schwarz)
Solution: partly revert patch 7.3.014, remove backslash in front of a
newline when not in prompt mode in ex line mode
(Mohamed Akram)
This fixes newline escaping to allow passing multiple commands to
":global", multiple lines to shell commands, and ending lines in append
mode with backslashes. This should fix a POSIX/(traditional) VI
incompatiblity.
This reverts a previous incorrect attempt at patch v7.3.014 to fix
append mode which removed half of trailing backslashes which lead to,
eg. the following two commands being parsed as having a different number
of backslashes:
```
!echo foo\\\
```
```
!echo foo\\ \
```
fixes: vim/vim#6135
fixes: vim/vim#7244
closes: vim/vim#15120
https://github.com/vim/vim/commit/f3daa4525b1816e475fbfe7add6f3c4a33b13944
Co-authored-by: Mohamed Akram <mohd.akram@outlook.com>
Diffstat (limited to 'runtime/lua/vim/provider/python.lua')
0 files changed, 0 insertions, 0 deletions