blob: 2dc5a26605326f0e9a1a801c2a1501359ca3dbe8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(custom-safe-themes
'("6abe1a7563dbd6524f08e1a875415adb800e918cfb9617f9a1eb8d2ef7f5305a" default)))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; 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 ()
(setq web-mode-markup-indent-offset 2)))
(custom-set-faces!
;'(default :background "#100b13")
'(default :background "#0e0911")
'(window-divider :foreground "#9b1bed")
;'(window-divider :foreground "#1ca09d")
'(hl-line :background "#21242b")
'(region :background "#71279f")
'(selection :background "#9b1bed")
;'(cursor :background "#ff0aa3")
;'(cursor :background "#0ec685" :foreground)
'(cursor :background "#9b1bed" :foreground)
'(highlight :background "#ff0aa3")
'(tide-hl-identifier-face :background "#0ec685" :foreground "#232627")
'(line-number :slant normal :background "#0e0911")
'(line-number-current-line :slant normal :background "#21242b"))
; window transparency
(add-to-list 'default-frame-alist '(alpha . 90))
|