Skip to content

Commit

Permalink
emacs: add z3 mode and configuration
Browse files Browse the repository at this point in the history
Signed-off-by: Kenny Ballou <kb@devnulllabs.io>
  • Loading branch information
kennyballou committed Apr 30, 2021
1 parent 182dcfa commit 8458e3c
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions config/emacs/emacs.d/init.el
Expand Up @@ -118,6 +118,7 @@
(require 'init-tex)
(require 'init-toml)
(require 'init-ocaml)
(require 'init-z3)

;; Email and Such
(require 'init-auth-sources)
Expand Down
14 changes: 14 additions & 0 deletions config/emacs/emacs.d/lisp/init-z3.el
@@ -0,0 +1,14 @@
;;; init-z3 --- z3 prover mode
;;; Commentary:
;;; Code:

(defvar z3-mode)
(defvar z3-solver-cmd)

(use-package z3-mode
:mode "\\.smt2\\'"
:config
(setq z3-solver-cmd "z3"))

(provide 'init-z3)
;;; init-z3.el ends here
1 change: 1 addition & 0 deletions overlays/emacs/packages.nix
Expand Up @@ -249,6 +249,7 @@ in rec {
xref-js2
yari
yasnippet
z3-mode
zenburn-theme
]) ++ (with epkgs.elpaPackages; [
auctex
Expand Down

0 comments on commit 8458e3c

Please sign in to comment.