parent
d02ab15c88
commit
4b60499f7d
1 changed files with 3 additions and 0 deletions
|
@ -9,6 +9,7 @@
|
||||||
(require 'dash)
|
(require 'dash)
|
||||||
(require 'dash-functional)
|
(require 'dash-functional)
|
||||||
(require 'f)
|
(require 'f)
|
||||||
|
(require 's)
|
||||||
(require 'lean-tags)
|
(require 'lean-tags)
|
||||||
(require 'lean-server)
|
(require 'lean-server)
|
||||||
|
|
||||||
|
@ -148,6 +149,8 @@ triggers a completion immediately."
|
||||||
(or
|
(or
|
||||||
(>= (length prefix) 1)
|
(>= (length prefix) 1)
|
||||||
(string-match "[_.]" prefix)))
|
(string-match "[_.]" prefix)))
|
||||||
|
(when (s-starts-with? "@" prefix)
|
||||||
|
(setq prefix (substring prefix 1)))
|
||||||
prefix)))
|
prefix)))
|
||||||
|
|
||||||
(defun company-lean--findp-make-candidate (arg prefix)
|
(defun company-lean--findp-make-candidate (arg prefix)
|
||||||
|
|
Loading…
Reference in a new issue