On 2018-05-30, M Kelly wrote:
> > Another way would be to check the fold regions.
>
> Any pointer/info/tip on how to determine the non-fold region is empty ?
I think this will do it.
if foldclosedend(1) == line("$")
" Entire buffer is a closed fold
endif
See
:help foldclose
> Another way would be to check the fold regions.
Any pointer/info/tip on how to determine the non-fold region is empty ?
thx,
mark
--
--
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
Tim Chase wrote:
> On 2018-05-28 18:11, M Kelly wrote:
> > Is there a variable for how many diffs are present after starting
> > vimdiff ? I'd like to exit immediately with status of 0 if there
> > are no differences between the files I pass into vimdiff.
>
> Not that I know of off the top of m
On 2018-05-28 18:11, M Kelly wrote:
> Is there a variable for how many diffs are present after starting
> vimdiff ? I'd like to exit immediately with status of 0 if there
> are no differences between the files I pass into vimdiff.
Not that I know of off the top of my head (though if there is, I'd
Hi,
Is there a variable for how many diffs are present after starting vimdiff ?
I'd like to exit immediately with status of 0 if there are no differences
between the files I pass into vimdiff.
thx for any suggestions,
-mark
--
--
You received this message from the "vim_use" maillist.
Do not top