From 6ceaafc53468ea5d57f74d1881278f84490758a9 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Sun, 19 Feb 2023 22:50:56 +0530 Subject: green theme --- .doom.d/custom.el | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to '.doom.d/custom.el') 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") -- cgit v1.2.3