Mercurial > vim
diff runtime/optwin.vim @ 5995:ef83b423ebf7 v7.4.338
updated for version 7.4.338
Problem: Cannot wrap lines taking indent into account.
Solution: Add the 'breakindent' option. (many authors, final improvements by
Christian Brabandt)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 25 Jun 2014 14:39:50 +0200 |
parents | 755931e042e4 |
children | 1e8ebf870720 |
line wrap: on
line diff
--- a/runtime/optwin.vim +++ b/runtime/optwin.vim @@ -324,6 +324,12 @@ call <SID>BinOptionG("wrap", &wrap) call append("$", "linebreak\twrap long lines at a character in 'breakat'") call append("$", "\t(local to window)") call <SID>BinOptionL("lbr") +call append("$", "breakindent\tpreserve indentation in wrapped text") +call append("$", "\t(local to window)") +call <SID>BinOptionL("bri") +call append("$", "breakindentopt\tadjust breakindent behaviour") +call append("$", "\t(local to window)") +call <SID>OptionL("briopt") call append("$", "breakat\twhich characters might cause a line break") call <SID>OptionG("brk", &brk) call append("$", "showbreak\tstring to put before wrapped screen lines")