branch: elpa/flx
commit 5591055c330e9a9e4ff19d74873393ed19ebbce5
Author: Le Wang <[email protected]>
Commit: Le Wang <[email protected]>
Recommend enabling ido-flex.
---
README.md | 3 ++-
flx-ido.el | 1 +
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
index b1b106b6c7..341477d25f 100644
--- a/README.md
+++ b/README.md
@@ -91,10 +91,11 @@ Add this to your init file and *flx* match will be enabled
for ido.
(ido-everywhere 1)
(flx-ido-mode 1)
;; disable ido faces to see flx highlights.
+(setq ido-enable-flex-matching t)
(setq ido-use-faces nil)
```
-If don't want to use the `flx`'s highlights you can turn them off like this:
+If you don't want to use the `flx`'s highlights you can turn them off like
this:
```lisp
(setq flx-ido-use-faces nil)
diff --git a/flx-ido.el b/flx-ido.el
index e5768ce03a..3a99ba0fd2 100644
--- a/flx-ido.el
+++ b/flx-ido.el
@@ -50,6 +50,7 @@
;; (ido-everywhere 1)
;; (flx-ido-mode 1)
;; ;; disable ido faces to see flx highlights.
+;; (setq ido-enable-flex-matching t)
;; (setq ido-use-faces nil)
;;; Code: