fix(emacs/lean-company): candidate fix for #846

This commit is contained in:
Leonardo de Moura 2015-12-11 08:11:50 -08:00
parent 2b1e7e7759
commit eda26a9099

View file

@ -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")