plugin autocomplete: update partial on manual trigger
This commit is contained in:
@@ -588,8 +588,11 @@ 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()
|
||||||
|
|||||||
Reference in New Issue
Block a user