I can’t hardcode it to react to ]] as the cancel statement because that wouldn’t be very flexible but I’ve been pondering this issue for a while. I’ve been thinking about these possible solution:
- Distance from last valid suggestion: basically you define a number, and if you type that number of characters since getting “No results” then it automatically closes.
- 
Cancel Triggers Filter: A filter that returns a list of triggers that, if detected, will cancel Auto Completion. This way one could define something like: [[ ]] [<rb>addsuffix<rb>]to automatically close suggestion if a space or]]is typed (I’d expose<lb>and<rb>as variables that contain[and]respectively)
Perhaps both of them should be implemented.
A small hack you can use for now is if there are no results typing enter will (should!) just stop auto completion without anything being changed or inserted.
 This saves users from many scrolls up and down and or opening the editor menus and search.!
 This saves users from many scrolls up and down and or opening the editor menus and search.!
 .
.