add ignoredia and smartdia option for search and find without diacritics (#118)

This commit is contained in:
martinlebeda authored and gokcehan committed 2018-12-03 15:41:53 +03:00
1 parent 4ee6488a09
commit c693b7eae4
7 files changed
+174

No files matched your search

+4
View File
@@ -33,6 +33,8 @@ var gOpts struct {
incsearch bool
preview bool
smartcase bool
ignoredia bool
smartdia bool
wrapscan bool
findlen int
period int
@@ -62,6 +64,8 @@ func init() {
gOpts.incsearch = false
gOpts.preview = true
gOpts.smartcase = true
gOpts.ignoredia = false
gOpts.smartdia = false
gOpts.wrapscan = true
gOpts.findlen = 1
gOpts.period = 0