Add change to consider modifiers as word separators, which improves word match reliability
This commit is contained in:
		
							parent
							
								
									69001c6546
								
							
						
					
					
						commit
						5712c7fd61
					
				|  | @ -235,6 +235,10 @@ impl <'a, R: MatchReceiver, M: ConfigManager<'a>> super::Matcher for ScrollingMa | ||||||
|             let mut current_set_queue = self.current_set_queue.borrow_mut(); |             let mut current_set_queue = self.current_set_queue.borrow_mut(); | ||||||
|             current_set_queue.pop_back(); |             current_set_queue.pop_back(); | ||||||
|         } |         } | ||||||
|  | 
 | ||||||
|  |         // Consider modifiers as separators to improve word matches reliability
 | ||||||
|  |         let mut was_previous_char_word_separator = self.was_previous_char_word_separator.borrow_mut(); | ||||||
|  |         *was_previous_char_word_separator = true; | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     fn handle_other(&self) { |     fn handle_other(&self) { | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user