feat!: Load ruler file dynamically (#2338)
* feat!: Load ruler file dynamically * Add documentation * Fix bug with custom filename * Update `CHANGELOG.md` * Add docs for `statfmt`
This commit is contained in:
1 parent
d00fd5c752
commit
8ed089cc25
11 files changed
+61
-81
No files matched your search
+1
-1
@@ -422,7 +422,7 @@ func completeCmd(acc []rune) (matches []compMatch, result string) {
|
||||
break
|
||||
}
|
||||
switch f[1] {
|
||||
case "cleaner", "previewer":
|
||||
case "cleaner", "previewer", "rulerfile":
|
||||
matches, result = matchCmdFile(f[2], false)
|
||||
case "filtermethod", "searchmethod":
|
||||
matches, result = matchWord(f[2], []string{"glob", "regex", "text"})
|
||||
|
||||
Reference in new issue
Block a user