We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 790ee8c + 6978156 commit ee6829fCopy full SHA for ee6829f
1 file changed
crates/terraphim_automata/src/autocomplete.rs
@@ -116,7 +116,11 @@ pub fn build_autocomplete_index(
116
id: normalized_term.id,
117
normalized_term: normalized_term.value.clone(),
118
url: normalized_term.url.clone(),
119
- original_term: key.to_string(),
+ original_term: if config.case_sensitive {
120
+ key.to_string()
121
+ } else {
122
+ key.as_str().to_lowercase()
123
+ },
124
},
125
);
126
}
0 commit comments