fix(emacs/lean-company): enable auto-complete if prefix has '.' or '_'
This commit is contained in:
parent
3ba4e553fe
commit
64bae94d3a
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue