Added lookup handlers

This commit is contained in:
Patrick Elliott 2018-08-27 13:57:00 +02:00
parent d9f819dac4
commit 5492315053
No known key found for this signature in database
GPG key ID: 7CA109C3974AF5FA

View file

@ -1,5 +1,9 @@
;;; lang/coq/config.el -*- lexical-binding: t; -*- ;;; lang/coq/config.el -*- lexical-binding: t; -*-
(after! company-coq (after! company-coq
(set-lookup-handlers! 'company-coq-mode
:definition #'company-coq-jump-to-definition
:references #'company-coq-occur
:documentation #'company-coq-doc)
(when (not (featurep! :completion company)) (when (not (featurep! :completion company))
(setq company-coq-disabled-features '(company company-defaults)))) (setq company-coq-disabled-features '(company company-defaults))))