Brad King wrote:
> I'd like to improve C-syntax folding for a common code format style.
>
> With `foldmethod=syntax` the code:
>
> if (...) {
> ...
> }
> else if (...) {
> ...
> }
> else {
> ...
> }
>
> folds like this:
>
> +--- 3 lines: if
Sorry, It was wrong. I updated patch
https://gist.github.com/mattn/d47e7d3bfe5ade4be86062b565a4bfca
On Wednesday, October 12, 2016 at 11:19:06 PM UTC+9, Bram Moolenaar wrote:
> +strsave_for_argv(char_u *string)
>
> I would call the argument "argv" and the escaped result "argv_escaped".
renamed
Hi Bram and Kiichi,
2016-10-15(Sat) 3:41:58 UTC+9 Bram Moolenaar:
> Ozaki Kiichi wrote:
>
> > This is matchaddpos() problem.
> >
> > [repro steps]
> >
> > vim -Nu NONE
> >
> > i1234567890
> > :call matchaddpos('ErrorMsg', [[1, 1, 5], [1, 3, 5]])
> >
> > expected: colored 1~7 ("12345" and
Hi Bram and list,
Type `:messages ` and push Tab key.
None patched behavior:
- Output Ctrl-I code
:messages ^I
Patched behavior:
- Complete `clear`
:messages clear
Attach a patch. (Contains a test)
Check it please.
--
Best regards,
Hirohito Higashi (a.k.a. h_east)
--
--
You received
You should add a test.
--
Best regards,
Hirohito Higashi (a.k.a. h_east)
--
--
You received this message from the "vim_dev" 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
2016-10-15(Sat) 13:58:03 UTC+9 Shougo:
> OK. I have added the test.
>
> But it is very hard to simulate the completion wait.
>
> Because the test omnifunc is asynchronous.
Issue#1168 repro steps doesn't seem to asynchronous for me.
Where is the asynchronous?
>
> The test fix is wellcome.
--
Hi.
Currently, vim checks ended-job every 10 second; thus exit_cb is delayed
10 seconds at the maximum.
I propose the following:
https://gist.github.com/ichizok/fe9743f46822a9015ed2f7d65238c5db
os_unix: check by waitpid(-1, _, WNOHANG).
os_win32: check by WaitForMultipleObjects(),
"the number
> Isn't this a bit too drastic? When termcap_active it should still be
> possible to output text (e.g. from another timer command).
>
> Also check msg_use_printf(). Looks like your change overrules its own
> check for termcap_active.
Hmm, yes. I think we should suppress updating screen while
Op 14 okt. 2016 17:21 schreef "Martin Vuille" :
>
> But I am unsure how to incorporate the files "foo" and "bar" into the
test.
You can write them from the test.
Christ van Willegen
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type
Hi Folks,
I'd like to improve C-syntax folding for a common code format style.
With `foldmethod=syntax` the code:
if (...) {
...
}
else if (...) {
...
}
else {
...
}
folds like this:
+--- 3 lines: if (...) {---
+--- 3
Hi Ozaki!
On Fr, 14 Okt 2016, Ozaki Kiichi wrote:
> Hi.
>
> Currently, vim checks ended-job every 10 second; thus exit_cb is delayed
> 10 seconds at the maximum.
>
> I propose the following:
>
> https://gist.github.com/ichizok/fe9743f46822a9015ed2f7d65238c5db
>
> os_unix: check by
Ozaki Kiichi wrote:
> > Isn't this a bit too drastic? When termcap_active it should still be
> > possible to output text (e.g. from another timer command).
> >
> > Also check msg_use_printf(). Looks like your change overrules its own
> > check for termcap_active.
>
> Hmm, yes. I think we
Ozaki Kiichi wrote:
> This is matchaddpos() problem.
>
> [repro steps]
>
> vim -Nu NONE
>
> i1234567890
> :call matchaddpos('ErrorMsg', [[1, 1, 5], [1, 3, 5]])
>
> expected: colored 1~7 ("12345" and "34567"; pos [1, 1, 5] and [1, 3, 5],
> overlapped "345")
>
> actual: colored 1~5 ("12345";
Yasuhiro Matsumoto wrote:
> Sorry, It was wrong. I updated patch
>
> https://gist.github.com/mattn/d47e7d3bfe5ade4be86062b565a4bfca
>
> On Wednesday, October 12, 2016 at 11:19:06 PM UTC+9, Bram Moolenaar wrote:
> > +strsave_for_argv(char_u *string)
> >
> > I would call the argument "argv" and
Ozaki Kiichi wrote:
> Currently, vim checks ended-job every 10 second; thus exit_cb is delayed
> 10 seconds at the maximum.
>
> I propose the following:
>
> https://gist.github.com/ichizok/fe9743f46822a9015ed2f7d65238c5db
>
> os_unix: check by waitpid(-1, _, WNOHANG).
> os_win32: check by
On 14 October 2016, Bram Moolenaar wrote:
>
> Ozaki Kiichi wrote:
>
> > Currently, vim checks ended-job every 10 second; thus exit_cb is delayed
> > 10 seconds at the maximum.
> >
> > I propose the following:
> >
> >
16 matches
Mail list logo