Add --normalize option to normalize latin script characters

Close #790
This commit is contained in:
Junegunn Choi committed 2017-01-09 03:12:23 +09:00
1 parent 9d545f9578
commit 45793d75c2
9 files changed
+563 -38

No files matched your search

+1 -1
View File
@@ -143,7 +143,7 @@ func Run(opts *Options) {
}
patternBuilder := func(runes []rune) *Pattern {
return BuildPattern(
opts.Fuzzy, opts.FuzzyAlgo, opts.Extended, opts.Case, forward,
opts.Fuzzy, opts.FuzzyAlgo, opts.Extended, opts.Case, opts.Normalize, forward,
opts.Filter == nil, opts.Nth, opts.Delimiter, runes)
}
matcher := NewMatcher(patternBuilder, sort, opts.Tac, eventBox)