summaryrefslogtreecommitdiff
path: root/emacs/inits/20-programming.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/inits/20-programming.el')
-rw-r--r--emacs/inits/20-programming.el19
1 files changed, 13 insertions, 6 deletions
diff --git a/emacs/inits/20-programming.el b/emacs/inits/20-programming.el
index 18ba4b0..69d71b1 100644
--- a/emacs/inits/20-programming.el
+++ b/emacs/inits/20-programming.el
@@ -1,13 +1,13 @@
-;; Time-stamp: <2020-01-29 10:47:16 (tslil@bison)>
+;; Time-stamp: <2020-04-24 14:51:05 (tslil@bison)>
;; -----------------------------------------------------------------------------
;; General setup
;; Always split horizontally when compiling
-(defadvice compile (around split-horizontally activate)
- (let ((split-width-threshold 0)
- (split-height-threshold nil))
- ad-do-it))
+;; (defadvice compile (around split-horizontally activate)
+;; (let ((split-width-threshold 0)
+;; (split-height-threshold nil))
+;; ad-do-it))
;; Resize to fill column (and a little bit)
(defadvice compile (after resize-window-properly activate)
@@ -181,4 +181,11 @@
(use-package verilog-mode
:ensure t
- :defer t)
+ :defer t
+ :mode "\\.vl$"
+ :hook (verilog-mode . (lambda ()
+ (setq verilog-tool 'verilog-compiler)
+ (verilog-set-compile-command)))
+ :config
+ (setq-default verilog-compiler "iverilog"
+ verilog-tool 'verilog-compiler))