fix(emacs/lean-company): enable auto-complete if prefix has '.' or '_'

This commit is contained in:
Soonho Kong 2014-09-04 21:04:54 -07:00
parent 3ba4e553fe
commit 64bae94d3a

View file

@ -24,7 +24,8 @@
triggers a completion immediately."
(let ((prefix (company-grab-symbol)))
(when (or
(> (length prefix) 3))
(> (length prefix) 3)
(string-match "[_.]" prefix))
prefix)))
(defun company-lean--make-candidate (arg)