Skip to content

Instantly share code, notes, and snippets.

@puffnfresh
Last active May 31, 2018 09:24
Show Gist options
  • Save puffnfresh/dc9842076d261c95f798 to your computer and use it in GitHub Desktop.
Save puffnfresh/dc9842076d261c95f798 to your computer and use it in GitHub Desktop.
Proof General under spacemacs
(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"))
(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)))
@cgswords
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment