Open jpaddison3 opened 8 years ago
Well, I'm using company
in my emacs configuration with elpy instead of usin auto-complete but I wasn't able to setup company-flx
since I'm getting an error that I'm not sure how to fix it.
Debugger entered--Lisp error: (void-function company-flx-mode)
(company-flx-mode 1)
eval((company-flx-mode 1) nil)
eval-expression((company-flx-mode 1) nil)
funcall-interactively(eval-expression (company-flx-mode 1) nil)
call-interactively(eval-expression nil nil)
command-execute(eval-expression)
Seems like for some reason the mode is not available, but I just load it with load-file
as usual when I'm testing a new plugin.
If you are curious, this is my emacs-configuration: https://github.com/humitos/emacs-configuration
There are a lot of things, but hopefully you will find what you need since it's quite modular (one configuration file per plugin). I will try to make it work with my own configuration, if I find the solution I will share it here.
Hello, and thanks for the report! Supporting company-flx when available sounds like a good idea :-)
Fuzzy matching with autocomplete is a very nice feature common in many IDEs. There is a module for adding flx support to company mode: https://github.com/PythonNut/company-flx but I believe this does not work in elpy because elpy does not use
company-capf
. Is it possible for elpy to support this? I would be happy to help, but I haven't done anything significant in elisp.