aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
authorAnmol Sethi <hi@nhooyr.io>2019-11-24 19:55:38 -0500
committerAnmol Sethi <hi@nhooyr.io>2019-11-24 20:31:46 -0500
commit4ce96e497909505b6253e987812e24e8fa08daec (patch)
tree81a15a65be3debaecd7ab0b4f161a7e8095c9ece /runtime/doc
parent078f279691f7d2b87128f7abc932634027d6dbd5 (diff)
downloadrneovim-4ce96e497909505b6253e987812e24e8fa08daec.tar.gz
rneovim-4ce96e497909505b6253e987812e24e8fa08daec.tar.bz2
rneovim-4ce96e497909505b6253e987812e24e8fa08daec.zip
man.vim: Hard wrap by default
Closes #11436
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/filetype.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/doc/filetype.txt b/runtime/doc/filetype.txt
index e46869d46e..c649688d99 100644
--- a/runtime/doc/filetype.txt
+++ b/runtime/doc/filetype.txt
@@ -550,7 +550,7 @@ Variables:
For example in C one usually wants section 3 or 2: >
:let b:man_default_sections = '3,2'
*g:man_hardwrap* Hard-wrap to $MANWIDTH or window width if $MANWIDTH is
- empty. Enabled by default. Disable to enable soft
+ empty. Enabled by default. Set |FALSE| to enable soft
wrapping.
To use Nvim as a manpager: >
@@ -560,10 +560,10 @@ Note that when running `man` from the shell and with that `MANPAGER` in your
environment, `man` will pre-format the manpage using `groff`. Thus, Neovim
will inevitably display the manual page as it was passed to it from stdin. One
of the caveats of this is that the width will _always_ be hard-wrapped and not
-soft wrapped as with `:Man`. You can set in your environment: >
+soft wrapped as with `g:man_hardwrap=0`. You can set in your environment: >
export MANWIDTH=999
-So `groff`'s pre-formatting output will be the same as with `:Man` i.e soft-wrapped.
+So `groff`'s pre-formatting output will be the same as with `g:man_hardwrap=0` i.e soft-wrapped.
To disable bold highlighting: >
:highlight link manBold Normal