aboutsummaryrefslogtreecommitdiff
path: root/.doom.d/custom.el
diff options
context:
space:
mode:
Diffstat (limited to '.doom.d/custom.el')
-rw-r--r--.doom.d/custom.el13
1 files changed, 11 insertions, 2 deletions
diff --git a/.doom.d/custom.el b/.doom.d/custom.el
index 6fd47a3..51279c5 100644
--- a/.doom.d/custom.el
+++ b/.doom.d/custom.el
@@ -12,15 +12,24 @@
;; If there is more than one, they won't work right.
)
+(add-hook 'go-mode-hook
+ (defun my-go-mode-hook ()
+ (add-hook 'before-save-hook 'gofmt-before-save)
+ (setq tab-width 2 indent-tabs-mode 0)))
+
+(add-hook 'dart-mode-hook
+ (defun my-go-mode-hook ()
+ (setq tab-width 2 indent-tabs-mode 0)))
+
(add-hook 'web-mode-hook
(defun my-web-mode-hook ()
- "Hooks for Web mode."
(setq web-mode-markup-indent-offset 2)))
(custom-set-faces!
;'(default :background "#100b13")
'(default :background "#0e0911")
- '(window-divider :foreground "#9b1bed")
+ ;'(window-divider :foreground "#9b1bed")
+ '(window-divider :foreground "#1ca09d")
'(hl-line :background "#21242b")
'(region :background "#71279f")
'(selection :background "#9b1bed")