Brett Stahlman wrote:
On Mar 16, 7:31 am, Rainy <[email protected]> wrote:
Hi, I'm trying to use 'formatlistpat' to format unordered lists with
'-' as a bullet:
:set flp=^\s*-\s*
You need to escape the backslashes...
:set flp=^\\s*-\\s*
:help option-backslash
Also, be sure the 'n' flag is present in 'formatoptions'.
Brett Stahlman
Thanks for the reply. That was indeed a problem with my pattern, but I
tried it now escaping
exactly as you say, and it doesn't work still. I do have 'n' in 'fo'. It
basically indents as if '-' wasn't there. I tried both escaping and
double-escaping the '-' (and not escaping, too, of course).
-ak
--
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