From ed0e96cd28f870c4a580c9e8ab74340fecc90fcb Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Wed, 6 Feb 2019 22:16:14 +0100 Subject: [PATCH] man.vim: set 'linebreak' closes #9583 --- runtime/ftplugin/man.vim | 24 ++++++------------------ 1 file changed, 6 insertions(+), 18 deletions(-) diff --git a/runtime/ftplugin/man.vim b/runtime/ftplugin/man.vim index 26b51186a1..6c7f095f62 100644 --- a/runtime/ftplugin/man.vim +++ b/runtime/ftplugin/man.vim @@ -12,25 +12,13 @@ if s:pager call man#init_pager() endif -setlocal buftype=nofile -setlocal noswapfile -setlocal bufhidden=hide -setlocal nomodified -setlocal readonly -setlocal nomodifiable -setlocal noexpandtab -setlocal tabstop=8 -setlocal softtabstop=8 -setlocal shiftwidth=8 -setlocal wrap -setlocal breakindent +setlocal noswapfile buftype=nofile bufhidden=hide +setlocal nomodified readonly nomodifiable +setlocal noexpandtab tabstop=8 softtabstop=8 shiftwidth=8 +setlocal wrap breakindent linebreak -setlocal nonumber -setlocal norelativenumber -setlocal foldcolumn=0 -setlocal colorcolumn=0 -setlocal nolist -setlocal nofoldenable +setlocal nonumber norelativenumber +setlocal foldcolumn=0 colorcolumn=0 nolist nofoldenable if !exists('g:no_plugin_maps') && !exists('g:no_man_maps') nnoremap j gj