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.el20
1 files changed, 13 insertions, 7 deletions
diff --git a/emacs/inits/20-programming.el b/emacs/inits/20-programming.el
index 69d71b1..1ca76e0 100644
--- a/emacs/inits/20-programming.el
+++ b/emacs/inits/20-programming.el
@@ -1,4 +1,4 @@
-;; Time-stamp: <2020-04-24 14:51:05 (tslil@bison)>
+;; Time-stamp: <2020-04-25 21:17:05 (tslil@bison)>
;; -----------------------------------------------------------------------------
;; General setup
@@ -10,10 +10,10 @@
;; ad-do-it))
;; Resize to fill column (and a little bit)
-(defadvice compile (after resize-window-properly activate)
- (let ((ww (window-width)))
- (when (< ww (+ 5 fill-column))
- (enlarge-window-horizontally (- (+ 5 fill-column) ww)))))
+;; (defadvice compile (after resize-window-properly activate)
+;; (let ((ww (window-width)))
+;; (when (< ww (+ 5 fill-column))
+;; (enlarge-window-horizontally (- (+ 5 fill-column) ww)))))
(defun programming-setup ()
(subword-mode 1)
@@ -187,5 +187,11 @@
(setq verilog-tool 'verilog-compiler)
(verilog-set-compile-command)))
:config
- (setq-default verilog-compiler "iverilog"
- verilog-tool 'verilog-compiler))
+ (setq verilog-compiler "iverilog"
+ verilog-tool 'verilog-compiler))
+
+(use-package gforth
+ :commands forth-mode
+ :mode (("\\.fs$" . forth-mode)
+ ("\\.fb$" . forth-block-mode)
+ ("\\.4th$" . forth-mode)))