set-popup-rules! -> set-popup-rule!

Semantic refactor.

Also adjusts regexp to use non-capturing group (for slight performance benefit).
This commit is contained in:
Henrik Lissner 2018-12-03 22:23:57 -05:00 committed by GitHub
parent dcbcc4d1e7
commit 84af639fc3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,8 +6,7 @@
(setq coq-mode-abbrev-table '())
(after! company-coq
(set-popup-rules!
'(("^\\*\\(response\\|goals\\)\\*" :ignore t)))
(set-popup-rule! "^\\*\\(?:response\\|goals\\)\\*" :ignore t)
(set-lookup-handlers! 'company-coq-mode
:definition #'company-coq-jump-to-definition
:references #'company-coq-grep-symbol