diff options
Diffstat (limited to '.doom.d')
-rw-r--r-- | .doom.d/custom.el | 13 | ||||
-rw-r--r-- | .doom.d/init.el | 14 |
2 files changed, 18 insertions, 9 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") diff --git a/.doom.d/init.el b/.doom.d/init.el index b3af47b..46ec83b 100644 --- a/.doom.d/init.el +++ b/.doom.d/init.el @@ -63,7 +63,7 @@ ;;parinfer ; turn lisp into python, sort of ;;rotate-text ; cycle region at point between text candidates snippets ; my elves. They type so I don't have to - ;;word-wrap ; soft wrapping with language-aware indent + word-wrap ; soft wrapping with language-aware indent :emacs dired ; making dired pretty [functional] @@ -120,7 +120,7 @@ ;;crystal ; ruby at the speed of c ;;csharp ; unity, .NET, and mono shenanigans data ; config/data formats - ;;(dart +flutter) ; paint ui and not much else + (dart +flutter) ; paint ui and not much else ;;dhall ;;elixir ; erlang done right ;;elm ; care for a cup of TEA? @@ -133,10 +133,10 @@ ;;fstar ; (dependent) types and (monadic) effects and Z3 ;;gdscript ; the language you waited for (go +lsp) ; the hipster dialect - ;;(haskell +lsp) ; a language that's lazier than I am + (haskell +lsp) ; a language that's lazier than I am ;;hy ; readability of scheme w/ speed of python ;;idris ; a language you can depend on - ;;json ; At least it ain't XML + json ; At least it ain't XML ;;(java +meghanada) ; the poster child for carpal tunnel syndrome javascript ; all(hope(abandon(ye(who(enter(here)))))) ;;julia ; a better, faster MATLAB @@ -153,11 +153,11 @@ ;;php ; perl's insecure younger brother ;;plantuml ; diagrams for confusing people more ;;purescript ; javascript, but functional - ;;python ; beautiful is better than ugly - ;;qt ; the 'cutest' gui framework ever + python ; beautiful is better than ugly + qt ; the 'cutest' gui framework ever ;;racket ; a DSL for DSLs ;;raku ; the artist formerly known as perl6 - ;;rest ; Emacs as a REST client + rest ; Emacs as a REST client ;;rst ; ReST in peace ;;(ruby +rails) ; 1.step {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"} ;;rust ; Fe2O3.unwrap().unwrap().unwrap().unwrap() |