Skip to content

Commit

Permalink
fix(vars)!: Rename VARS_TRIE to VARS
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed Dec 29, 2024
1 parent 90367ac commit dd671ae
Show file tree
Hide file tree
Showing 3 changed files with 3,236 additions and 3,272 deletions.
2 changes: 1 addition & 1 deletion crates/typos-cli/src/dict.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ impl BuiltIn {

fn correct_with_vars(&self, word: UniCase<&str>) -> Option<Status<'static>> {
if self.is_vars_enabled() {
typos_vars::VARS_TRIE
typos_vars::VARS
.find(&word)
.map(|variants| self.select_variant(variants))
} else {
Expand Down
Loading

0 comments on commit dd671ae

Please sign in to comment.