diff options
| author | Omar Antolín <omar.antolin@gmail.com> | 2020-04-24 14:45:27 -0500 |
|---|---|---|
| committer | Omar Antolín <omar.antolin@gmail.com> | 2020-04-24 14:45:27 -0500 |
| commit | f4fa6a9d56ec7f58b70f0b9949d71e175cf76d30 (patch) | |
| tree | 4a00bf4b0b9c34e65bf9f1a74f2e036e4690ae7e | |
| parent | fb6ad592b7f52cf733311f42c2e2854b556ade75 (diff) | |
Add declaration of ivy-regex
| -rw-r--r-- | orderless.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/orderless.el b/orderless.el index 2d250d1..d5edd51 100644 --- a/orderless.el +++ b/orderless.el @@ -288,6 +288,8 @@ This function is for integration of orderless with ivy, use it as a value in `ivy-re-builders-alist'." (or (mapcar (lambda (x) (cons x t)) (orderless--component-regexps str)) "")) +(defvar ivy-regex) + (defun orderless--ivy-highlight (str) "Highlight a match in STR of each regexp in `ivy-regex'. This function is for integration of orderless with ivy. Add a |
