plugin autocomplete: update partial on manual trigger
This commit is contained in:
1 parent
3ccd696ffc
commit
0030c69524
1 file changed
+3
@@ -588,9 +588,12 @@ function autocomplete.open(on_close)
|
|||||||
end
|
end
|
||||||
|
|
||||||
local av = get_active_view()
|
local av = get_active_view()
|
||||||
|
if av then
|
||||||
|
partial = get_partial_symbol()
|
||||||
last_line, last_col = av.doc:get_selection()
|
last_line, last_col = av.doc:get_selection()
|
||||||
update_suggestions()
|
update_suggestions()
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|
||||||
function autocomplete.close()
|
function autocomplete.close()
|
||||||
reset_suggestions()
|
reset_suggestions()
|
||||||
|
|||||||
Reference in new issue
Block a user