summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorDominique Pelle <dominique.pelle@gmail.com>2021-09-04 13:44:01 +0200
committerBram Moolenaar <Bram@vim.org>2021-09-04 13:44:01 +0200
commit7f2dd1e90c1d4a30c791fae20014594641769a1e (patch)
treeecccfbc440f9cfc99eec039af8dcb1625e797c3e /runtime
parentdeba5eb195d6ac70171d4973091fa884809fa3fa (diff)
patch 8.2.3400: ":z!" is not supportedv8.2.3400
Problem: ":z!" is not supported. Solution: Make ":z!" work and add tests. (Dominique Pellé, closes #8836) Use display height instead of current window height.
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/various.txt11
1 files changed, 8 insertions, 3 deletions
diff --git a/runtime/doc/various.txt b/runtime/doc/various.txt
index 0ad12e8042..10974ac188 100644
--- a/runtime/doc/various.txt
+++ b/runtime/doc/various.txt
@@ -170,8 +170,13 @@ g8 Print the hex values of the bytes used in the
If the mark is "=", a line of dashes is printed
around the current line.
-:[range]z#[+-^.=][count] *:z#*
- Like ":z", but number the lines.
+ *:z!
+:[range]z![+-^.=][count]
+ Like ":z:", but when [count] is not specified, it
+ defaults to the Vim window height minus one.
+
+:[range]z[!]#[+-^.=][count] *:z#*
+ Like ":z" or ":z!", but number the lines.
*:=*
:= [flags] Print the last line number.
@@ -418,7 +423,7 @@ N *+multi_lang* non-English language support |multi-lang|
m *+mzscheme* Mzscheme interface |mzscheme|
m *+mzscheme/dyn* Mzscheme interface |mzscheme-dynamic| |/dyn|
m *+netbeans_intg* |netbeans|
- *+num64* 64-bit Number support |Number|
+ *+num64* 64-bit Number support |Number|
Always enabled since 8.2.0271, use v:numbersize to
check the actual size of a Number.
m *+ole* Win32 GUI only: |ole-interface|