summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBozhidar Batsov <bozhidar@batsov.com>2016-04-23 10:53:20 -0700
committerBozhidar Batsov <bozhidar@batsov.com>2016-04-23 10:53:20 -0700
commit99119a6bd03d491532becc930308bc0275467905 (patch)
treeb5a1cfb8984360a0376bbf6dd4968e81d469d775 /doc
parentb459a383db7cca6d80d3aeb7efe3adb66ab4d3cb (diff)
Mention company-flx in the manual
Diffstat (limited to 'doc')
-rw-r--r--doc/code_completion.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/code_completion.md b/doc/code_completion.md
index 3430ca4c..3078ad1f 100644
--- a/doc/code_completion.md
+++ b/doc/code_completion.md
@@ -50,6 +50,19 @@ you can add this to your config:
`company-indent-or-complete-common` is available only in `company-mode` 0.9+ (at
the time of this writing it's still in development).
+### Fuzzy candidate matching
+
+By default `company-mode` will provide completion candidates with the assumption
+that whatever you've typed so far (e.g. `map-`) is a completion prefix (meaning
+you'd get only candidates that have `map-` in the beginnings of their names).
+
+You can get enhanced fuzzy completion with `company-mode` if you install the
+additional package [company-flx](https://github.com/PythonNut/company-flx).
+This is powered internally by [flx](https://github.com/lewang/flx).
+
+Basically with `company-flx` enabled typing something like `mp` will show you
+`map-indexed` as one of the possible completion candidates.
+
### Migrating from `auto-complete-mode`
In case you have some `auto-complete-mode` configuration lying around and you