diff options
| author | bfredl <bjorn.linse@gmail.com> | 2023-03-20 21:11:10 +0100 |
|---|---|---|
| committer | bfredl <bjorn.linse@gmail.com> | 2023-03-22 09:10:04 +0100 |
| commit | a92b38934a2d00c13ee4d1969d994da15e0857ab (patch) | |
| tree | f201f6bb3718b4788403b986664e596f809d5a98 /runtime/doc/vim_diff.txt | |
| parent | 4cba53e09e6e9d9cf06e87431146b9707347bcd6 (diff) | |
| download | rneovim-a92b38934a2d00c13ee4d1969d994da15e0857ab.tar.gz rneovim-a92b38934a2d00c13ee4d1969d994da15e0857ab.tar.bz2 rneovim-a92b38934a2d00c13ee4d1969d994da15e0857ab.zip | |
feat(lua): allow `:=expr` as a shorter version of `:lua =expr`
existing behavior of
:=
and
:[range]=
are unchanged. `|` is still allowed with this usage.
However,
:=p
and similar are changed in a way which could be construed as a breaking
change. Allowing |ex-flags| for := in the first place was a mistake as
any form of := DOES NOT MOVE THE CURSOR. So it would print one line number
and then print a completely different line contents after that.
Diffstat (limited to 'runtime/doc/vim_diff.txt')
| -rw-r--r-- | runtime/doc/vim_diff.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/doc/vim_diff.txt b/runtime/doc/vim_diff.txt index 9c01e3dbc7..cd93e4d17a 100644 --- a/runtime/doc/vim_diff.txt +++ b/runtime/doc/vim_diff.txt @@ -460,6 +460,7 @@ Commands: |:doautocmd| does not warn about "No matching autocommands". |:wincmd| accepts a count. `:write!` does not show a prompt if the file was updated externally. + |:=| does not accept |ex-flags|. With an arg it is equivalent to |:lua=| Command-line: The meanings of arrow keys do not change depending on 'wildoptions'. |