File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ function ddc#on_complete_done(completed_item) abort
53
53
return
54
54
endif
55
55
56
- call ddc#denops#_request (' onCompleteDone' , [a: completed_item ])
56
+ call ddc#denops#_notify (' onCompleteDone' , [a: completed_item ])
57
57
endfunction
58
58
59
59
function ddc#syntax_in (groups) abort
Original file line number Diff line number Diff line change @@ -1007,6 +1007,9 @@ getPreviewer (function) (Optional)
1007
1007
onCompleteDone (function) (Optional)
1008
1008
Called after the completion text is inserted.
1009
1009
It is useful to substitute text after completion.
1010
+ NOTE: It is executed asynchronously to optimize the
1011
+ performance. If you need to execute it synchronously, you
1012
+ should use | CompleteDone | autocmd instead.
1010
1013
NOTE: | ddc-item-attribute-user_data | must be "UserData" to use
1011
1014
the feature.
1012
1015
NOTE: If it changes the text, it should call
@@ -1684,6 +1687,9 @@ https://github.com/Shougo/ddc-ui-pum
1684
1687
==============================================================================
1685
1688
COMPATIBILITY *ddc-compatibility*
1686
1689
1690
+ 2024.08.16
1691
+ * "onCompleteDone" is executed asynchronously.
1692
+
1687
1693
2023.12.06
1688
1694
* Change "ddc#set_static_import_path()" spec.
1689
1695
You can’t perform that action at this time.
0 commit comments