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:
parent
d8dbd0759c
commit
b89fcd8726
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,6 @@
|
||||||
#+TITLE: :lang coq
|
#+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]]
|
||||||
|
|
|
@ -3,6 +3,8 @@
|
||||||
;; `coq'
|
;; `coq'
|
||||||
(setq proof-electric-terminator-enable t)
|
(setq proof-electric-terminator-enable t)
|
||||||
|
|
||||||
|
(setq coq-mode-abbrev-table '())
|
||||||
|
|
||||||
(after! company-coq
|
(after! company-coq
|
||||||
(set-lookup-handlers! 'company-coq-mode
|
(set-lookup-handlers! 'company-coq-mode
|
||||||
:definition #'company-coq-jump-to-definition
|
:definition #'company-coq-jump-to-definition
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue