File tree 1 file changed +2
-6
lines changed
1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -75,19 +75,15 @@ cmp.setup_signature_help = function()
75
75
signature_trigger .listen_on_show (function (context )
76
76
cmp .sources .cancel_signature_help ()
77
77
cmp .sources .get_signature_help (context , function (signature_help )
78
- if signature_help ~= nil then
78
+ if signature_help ~= nil and signature_trigger . context . id == context . id then
79
79
signature_trigger .set_active_signature_help (signature_help )
80
80
signature_window .open_with_signature_help (context , signature_help )
81
81
else
82
82
signature_trigger .hide ()
83
83
end
84
84
end )
85
85
end )
86
-
87
- signature_trigger .listen_on_hide (function ()
88
- cmp .sources .cancel_signature_help ()
89
- signature_window .close ()
90
- end )
86
+ signature_trigger .listen_on_hide (function () signature_window .close () end )
91
87
end
92
88
93
89
cmp .add_default_highlights = function ()
You can’t perform that action at this time.
0 commit comments