summaryrefslogtreecommitdiff
path: root/emacs/inits/20-programming.el
diff options
context:
space:
mode:
authortslil clingman <>2020-04-24 14:51:42 -0700
committertslil clingman <>2020-04-24 14:51:42 -0700
commit18bb5178ea2d2d1f2f0e788ab33bfbdf59376837 (patch)
tree89e597d08d0a1d656a1a5f4772c7e138fb36a0e9 /emacs/inits/20-programming.el
parent6ba333c21a29be757a5f7735ae8bcde153346e60 (diff)
EXWM workspace fixes & tray, Verilog, still not good input method
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))