Wednesday, April 26, 2017

Re: Bullet list and "showbreak"

On Wednesday, April 26, 2017 at 8:36:19 AM UTC-5, Yann wrote:
> Hello,
>
> I use "showbreak" in my text, I'd like to know if somebody could help me with a "showbreak conditional", please:
>
> if "text begins with [_]"
> set showbreak=\ \ \ \
> else if "text begins with -"
> set showbreak=\ \
> else
> endif
>
> In fact, I want a "showbreak" According to the beginning of the paragraph. Does someone have ideas, please?
>
> thX

Impossible, because showbreak takes a string and not a function; also showbreak is a global option that affects all of Vim, not just a single buffer, and *definitely* not just a single paragraph.

--
--
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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: