Replace Coq-Mode abbreviations with yasnippet

Since ProofGenerals abbreviation usage interfers with
evil-mode, this empties the abbreviation table of coq-mode.
The abbreviations got transformed into yasnippet snippets
and put into hlissner/emacs-snippets#4.
This commit is contained in:
Sebastian Wild 2018-10-06 23:45:09 +02:00
parent d8dbd0759c
commit b89fcd8726
No known key found for this signature in database
GPG key ID: 366A2940479A06FC
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,6 @@
#+TITLE: :lang coq
This module adds [[https://coq.inria.fr][coq]] support, powered by [[https://proofgeneral.github.io][Proof General]], with code completion via [[https://github.com/cpitclaudel/company-coq][company-coq]].
This module adds [[https://coq.inria.fr][coq]] support, powered by [[https://proofgeneral.github.io][Proof General]].
+ Code completion ([[https://github.com/cpitclaudel/company-coq][company-coq]])
+ [[https://github.com/hlissner/emacs-snippets/tree/master/coq-mode][Snippets]]

View file

@ -3,6 +3,8 @@
;; `coq'
(setq proof-electric-terminator-enable t)
(setq coq-mode-abbrev-table '())
(after! company-coq
(set-lookup-handlers! 'company-coq-mode
:definition #'company-coq-jump-to-definition