Hi Timothy!
On Mi, 12 Sep 2012, Timothy Madden wrote:
> Hello
>
> GNU coding conventions suggest using form-feed (FF, Ctrl+L)
> characters on an empty line in source files when separation into
> logical blocks of source code is desirable.
>
> Is there a command (like a syntax script) for Vim to show a ruler
> line like the one used for folding, when a FF character is
> encountered on an empty line ?
setl fen fml=0 fdm=expr fde=getline(v:lnum)[0]=='^L'
where ^L is a literal Ctrl-L and it expects the FF to be the first
character in the line.
regards,
Christian
--
--
You received this message from the "vim_use" 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
Wednesday, September 12, 2012
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment