On Thu, February 7, 2013 17:18, Jianjun Mao wrote:
> hi,Christian, you are right, that's not a "problem"....
> But it interrupts the CompleteDone event.
> The background is that I am writing a plugin to parse and complete c/cpp
> sourcesď(similar to clang_completeď)by using clang. When the
> CompleteDone
> event is triggered, it will show diagnostics window according to
> the clang output.
> If the completion result is not empty, omni will popup the result, then I
> will choose what I want, finally show the diagnostics window, and all
> things are OK. But when there is no pattern matched, the error message
> stops plugin from showing diagnostics immediately...
I am afraid, this needs a patch. Here is a patch and since :h
CompleteDone explicitly mentions, it should also be triggered, when
the completion was abandoned, this should be ok.
diff -r 30b3b1da0350 src/edit.c
--- a/src/edit.c Thu Jan 31 21:09:15 2013 +0100
+++ b/src/edit.c Thu Feb 07 18:06:34 2013 +0100
@@ -3846,6 +3846,12 @@
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment