##// END OF EJS Templates
Fix typos in a comment
Michał Krassowski -
Show More
@@ -83,8 +83,8 b' class NavigableAutoSuggestFromHistory(AutoSuggestFromHistory):'
83 query, self.skip_lines, history
83 query, self.skip_lines, history
84 ):
84 ):
85 # if user has history ['very.a', 'very', 'very.b'] and typed 'very'
85 # if user has history ['very.a', 'very', 'very.b'] and typed 'very'
86 # we want to switch from 'very.b' to 'very.a' because a) if they
86 # we want to switch from 'very.b' to 'very.a' because a) if the
87 # suggestion equals current text, prompt-toolit aborts suggesting
87 # suggestion equals current text, prompt-toolkit aborts suggesting
88 # b) user likely would not be interested in 'very' anyways (they
88 # b) user likely would not be interested in 'very' anyways (they
89 # already typed it).
89 # already typed it).
90 if query + suggestion != other_than:
90 if query + suggestion != other_than:
General Comments 0
You need to be logged in to leave comments. Login now