aboutsummaryrefslogtreecommitdiff
path: root/.doom.d/custom.el
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.xyz>2023-02-19 22:50:56 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.xyz>2023-02-19 22:50:56 +0530
commit6ceaafc53468ea5d57f74d1881278f84490758a9 (patch)
tree6c8d7e5411c2b1b65a2f6b64dd1980ef53ee4631 /.doom.d/custom.el
parent1520561b25125824dcbd4bc35f8968407ce57a75 (diff)
green theme
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")