Why is 'foldtext' local to window instead of buffer?

2011-05-13 Fir de Conversatie Jan Larres
Hi all, I've recently been trying to write a 'foldtext' setting that is specific to LaTeX and would include useful information like for a example the caption information for a folded environment. But then I discovered that the 'foldtext' setting is local to a window and not to a buffer, making

Re: Why is 'foldtext' local to window instead of buffer?

2011-05-13 Fir de Conversatie Gary Johnson
On 2011-05-13, Jan Larres wrote: Hi all, I've recently been trying to write a 'foldtext' setting that is specific to LaTeX and would include useful information like for a example the caption information for a folded environment. But then I discovered that the 'foldtext' setting is local to

Re: Why is 'foldtext' local to window instead of buffer?

2011-05-13 Fir de Conversatie Ben Schmidt
I've recently been trying to write a 'foldtext' setting that is specific to LaTeX and would include useful information like for a example the caption information for a folded environment. But then I discovered that the 'foldtext' setting is local to a window and not to a buffer, making

:h match() should mention matchlist()

2011-05-13 Fir de Conversatie Philippe Vaucher
This happened to me several times now so I think this probably happens to other people too: When writing a script, I often have to do a regex and match subparts, but I always forget which function is. I easily fall on :h match() but nowhere within match() is matchlist() or matchstr() mentionned,

Re: Why is 'foldtext' local to window instead of buffer?

2011-05-13 Fir de Conversatie Vlad Irnov
On May 13, 2:04 am, Jan Larres li...@majutsushi.net wrote: Hi all, I've recently been trying to write a 'foldtext' setting that is specific to LaTeX and would include useful information like for a example the caption information for a folded environment. But then I discovered that the

Re: Why is 'foldtext' local to window instead of buffer?

2011-05-13 Fir de Conversatie Ben Fritz
On May 13, 1:04 am, Jan Larres li...@majutsushi.net wrote: Hi all, I've recently been trying to write a 'foldtext' setting that is specific to LaTeX and would include useful information like for a example the caption information for a folded environment. But then I discovered that the

Syntax engine - 'extend' broken

2011-05-13 Fir de Conversatie Radosław Nadstawny
Hi there, I've encountered some weird behavior in syntax highlighting that happens when I use the 'extend' attribute. It's hard to describe precisely with words, so I'm attaching an example to illustrate it. I've tried to look into the code to find the source of this behavior, but eventually