fix(emacs/lean-company): enable auto-complete when prefix length >= 1

[skip ci]
This commit is contained in:
Soonho Kong 2014-09-10 16:21:44 -07:00
parent 1c5497e632
commit 1ea8b66a39

View file

@ -35,7 +35,7 @@ triggers a completion immediately."
((and
(company-lean--need-autocomplete)
(or
(> (length prefix) 3)
(>= (length prefix) 1)
(string-match "[_.]" prefix)))
prefix))))