Last active
May 31, 2018 09:24
-
-
Save puffnfresh/dc9842076d261c95f798 to your computer and use it in GitHub Desktop.
Proof General under spacemacs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defvar coq-pre-extensions | |
'( | |
proof-general | |
)) | |
(defun coq/init-proof-general () | |
"Initialize Proof General" | |
(use-package proof-site | |
:defer t | |
:mode ("\\.v\\'" . coq-mode) | |
:load-path | |
"~/.nix-profile/share/emacs/site-lisp/ProofGeneral/generic")) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defvar coq-packages | |
'( | |
company-coq | |
)) | |
(defun coq/init-company-coq () | |
(use-package company-coq | |
:defer t | |
:config | |
(add-hook 'coq-mode-hook #'company-coq-initialize))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I can't figure out how this works. I cloned as above and modified it to point to the correct proof general location, but opening
Test.v
treats it as a Verilog file. Can you help?