fix(emacs/lean-company): candidate fix for #846
This commit is contained in:
parent
2b1e7e7759
commit
eda26a9099
1 changed files with 3 additions and 1 deletions
|
@ -192,7 +192,9 @@
|
|||
;; -----
|
||||
(defun company-lean--need-autocomplete ()
|
||||
(interactive)
|
||||
(cond ((looking-back
|
||||
(cond ((looking-back (rx "print" (+ white) "definition" (+ white) (* (not white))))
|
||||
t)
|
||||
((looking-back
|
||||
(rx (or "theorem" "definition" "lemma" "axiom" "parameter"
|
||||
"variable" "hypothesis" "conjecture"
|
||||
"corollary" "open")
|
||||
|
|
Loading…
Reference in a new issue