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:
Joe Lim authored and GitHub committed 2026-01-12 17:48:19 +11:00
1 parent d00fd5c752
commit 8ed089cc25
11 files changed
+61 -81

No files matched your search

+1 -1
View File
@@ -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"})