I'd really like to see the breakindent patch in vim. E.g. screenshot: http://beta.arcig.cz/~eudoxos/vim7/breakindent1.png The lack of this is *the* reason our coding standard has a limit of max. 80 characters pr. line.
Václav Šmilauer posted a patch for this in 2004 that was updated in 2007. Even newer versions are hosted at https://retracile.net/wiki/VimBreakIndent. As far as I know, all objections to the patch have been resolved, but the patch still isn't in vim. Are there any reasons for this? Under "Awaiting updated patches", http://code.google.com/p/vim/source/browse/runtime/doc/todo.txt there is an "unclassified" entry saying: - Patch for 'breakindent' option: repeat indent for wrapped line. (Vaclav Smilauer, 2004 Sep 13, fix Oct 31, update 2007 May 30) Version for latest MacVim: Tobia Conforto, 2009 Nov 23 More recent version: https://retracile.net/wiki/VimBreakIndent I've just tried https://retracile.net/attachment/wiki/2011/08/23/21.30/vim-7.3.285-breakindent.patch against today's mercurial and it works fine as far as I can see. There was a problem reported in the "Breakindent patch and linebreak" thread: https://groups.google.com/group/vim_dev/browse_thread/thread/7741e8f822b26f54/450b30df7ce6310f?hl=en%C7%82b30df7ce6310f, and I can confirm that *was* an issue with older versions of the patch (e.g. https://retracile.net/attachment/wiki/2009/12/22/16.00/vim-7.2-breakindent.patch against vim 7.2), but I could not reproduce the buggy behaviour with the newest version against HG head. So what is holding this back? What patch update is awaited? I'd really love to see this feature in vim. After years of vim use, this is the first thing I've missed enough for me to sign up to this mailing list! :-) Peter -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
