diff options
author | Anmol Sethi <hi@nhooyr.io> | 2019-11-24 19:55:38 -0500 |
---|---|---|
committer | Anmol Sethi <hi@nhooyr.io> | 2019-11-24 20:31:46 -0500 |
commit | 4ce96e497909505b6253e987812e24e8fa08daec (patch) | |
tree | 81a15a65be3debaecd7ab0b4f161a7e8095c9ece /runtime/autoload | |
parent | 078f279691f7d2b87128f7abc932634027d6dbd5 (diff) | |
download | rneovim-4ce96e497909505b6253e987812e24e8fa08daec.tar.gz rneovim-4ce96e497909505b6253e987812e24e8fa08daec.tar.bz2 rneovim-4ce96e497909505b6253e987812e24e8fa08daec.zip |
man.vim: Hard wrap by default
Closes #11436
Diffstat (limited to 'runtime/autoload')
-rw-r--r-- | runtime/autoload/man.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/autoload/man.vim b/runtime/autoload/man.vim index 36f42c0003..0777d2202f 100644 --- a/runtime/autoload/man.vim +++ b/runtime/autoload/man.vim @@ -139,7 +139,7 @@ function! s:get_page(path) abort " Disable hard-wrap by using a big $MANWIDTH (max 1000 on some systems #9065). " Soft-wrap: ftplugin/man.vim sets wrap/breakindent/…. " Hard-wrap: driven by `man`. - let manwidth = !get(g:,'man_hardwrap') ? 999 : (empty($MANWIDTH) ? winwidth(0) : $MANWIDTH) + let manwidth = !get(g:,'man_hardwrap', 1) ? 999 : (empty($MANWIDTH) ? winwidth(0) : $MANWIDTH) " Force MANPAGER=cat to ensure Vim is not recursively invoked (by man-db). " http://comments.gmane.org/gmane.editors.vim.devel/29085 " Set MAN_KEEP_FORMATTING so Debian man doesn't discard backspaces. |