summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimeon Simeonov2022-11-20 21:53:01 +0100
committerSimeon Simeonov2022-11-20 21:53:01 +0100
commit831b5da37edd9b846c56937ca873975c3f0f0294 (patch)
tree91d97dbc449a60cd23408ed624f6f148075786ff
parentfbe17a9961043c66e43b46aa524b35593da78bf4 (diff)
Enable custom faces
-rw-r--r--.emacs22
-rw-r--r--.emacs.pure28
2 files changed, 27 insertions, 23 deletions
diff --git a/.emacs b/.emacs
index 40d868f..406a0fa 100644
--- a/.emacs
+++ b/.emacs
@@ -29,18 +29,18 @@
29 ;; If you edit it by hand, you could mess it up, so be careful. 29 ;; If you edit it by hand, you could mess it up, so be careful.
30 ;; Your init file should contain only one such instance. 30 ;; Your init file should contain only one such instance.
31 ;; If there is more than one, they won't work right. 31 ;; If there is more than one, they won't work right.
32 ;; '(error ((nil (:foreground "Red1")))) 32 '(error ((nil (:foreground "Red1"))))
33 ;; '(font-lock-builtin-face ((nil (:foreground "dark slate blue")))) 33 '(font-lock-builtin-face ((nil (:foreground "dark slate blue"))))
34 ;; '(font-lock-comment-face ((nil (:foreground "Firebrick")))) 34 '(font-lock-comment-face ((nil (:foreground "Firebrick"))))
35 '(font-lock-comment-face ((nil (:foreground "red")))) 35 '(font-lock-comment-face ((nil (:foreground "red"))))
36 ;; '(font-lock-constant-face ((nil (:foreground "dark cyan")))) 36 '(font-lock-constant-face ((nil (:foreground "dark cyan"))))
37 ;; '(font-lock-function-name-face ((nil (:foreground "Blue1")))) 37 '(font-lock-function-name-face ((nil (:foreground "Blue1"))))
38 ;; '(font-lock-keyword-face ((nil (:foreground "Purple")))) 38 '(font-lock-keyword-face ((nil (:foreground "Purple"))))
39 ;; '(font-lock-string-face ((nil (:foreground "VioletRed4")))) 39 '(font-lock-string-face ((nil (:foreground "VioletRed4"))))
40 ;; '(font-lock-type-face ((nil (:foreground "ForestGreen")))) 40 '(font-lock-type-face ((nil (:foreground "ForestGreen"))))
41 ;; '(font-lock-variable-name-face ((nil (:foreground "sienna")))) 41 '(font-lock-variable-name-face ((nil (:foreground "sienna"))))
42 ;; '(font-lock-warning-face ((nil (:foreground "Red1")))) 42 '(font-lock-warning-face ((nil (:foreground "Red1"))))
43 ;; '(warning ((nil (:foreground "DarkOrange")))) 43 '(warning ((nil (:foreground "DarkOrange"))))
44 ) 44 )
45 45
46;;(setq require-final-newline t) 46;;(setq require-final-newline t)
diff --git a/.emacs.pure b/.emacs.pure
index 344771a..932b320 100644
--- a/.emacs.pure
+++ b/.emacs.pure
@@ -29,18 +29,18 @@
29 ;; If you edit it by hand, you could mess it up, so be careful. 29 ;; If you edit it by hand, you could mess it up, so be careful.
30 ;; Your init file should contain only one such instance. 30 ;; Your init file should contain only one such instance.
31 ;; If there is more than one, they won't work right. 31 ;; If there is more than one, they won't work right.
32 ;; '(error ((nil (:foreground "Red1")))) 32 '(error ((nil (:foreground "Red1"))))
33 ;; '(font-lock-builtin-face ((nil (:foreground "dark slate blue")))) 33 '(font-lock-builtin-face ((nil (:foreground "dark slate blue"))))
34 ;; '(font-lock-comment-face ((nil (:foreground "Firebrick")))) 34 '(font-lock-comment-face ((nil (:foreground "Firebrick"))))
35 '(font-lock-comment-face ((nil (:foreground "red")))) 35 '(font-lock-comment-face ((nil (:foreground "red"))))
36 ;; '(font-lock-constant-face ((nil (:foreground "dark cyan")))) 36 '(font-lock-constant-face ((nil (:foreground "dark cyan"))))
37 ;; '(font-lock-function-name-face ((nil (:foreground "Blue1")))) 37 '(font-lock-function-name-face ((nil (:foreground "Blue1"))))
38 ;; '(font-lock-keyword-face ((nil (:foreground "Purple")))) 38 '(font-lock-keyword-face ((nil (:foreground "Purple"))))
39 ;; '(font-lock-string-face ((nil (:foreground "VioletRed4")))) 39 '(font-lock-string-face ((nil (:foreground "VioletRed4"))))
40 ;; '(font-lock-type-face ((nil (:foreground "ForestGreen")))) 40 '(font-lock-type-face ((nil (:foreground "ForestGreen"))))
41 ;; '(font-lock-variable-name-face ((nil (:foreground "sienna")))) 41 '(font-lock-variable-name-face ((nil (:foreground "sienna"))))
42 ;; '(font-lock-warning-face ((nil (:foreground "Red1")))) 42 '(font-lock-warning-face ((nil (:foreground "Red1"))))
43 ;; '(warning ((nil (:foreground "DarkOrange")))) 43 '(warning ((nil (:foreground "DarkOrange"))))
44 ) 44 )
45 45
46;;(setq require-final-newline t) 46;;(setq require-final-newline t)
@@ -69,11 +69,15 @@
69(put 'downcase-region 'disabled nil) 69(put 'downcase-region 'disabled nil)
70(kill-buffer "*scratch*") 70(kill-buffer "*scratch*")
71 71
72(setq split-height-threshold nil)
73(setq split-width-threshold 160)
74
72 75
73;; Programming section 76;; Programming section
74 77
75;; Indentation 78;; Indentation
76(setq-default c-basic-offset 4 tab-width 4 indent-tabs-mode nil) 79(setq-default c-basic-offset 4 tab-width 4 js-indent-level 4 indent-tabs-mode nil sgml-basic-offset 4)
80;;(setq-default c-basic-offset 4 tab-width 4 indent-tabs-mode nil)
77;;(setq-default c-basic-offset 4 tab-width 4) 81;;(setq-default c-basic-offset 4 tab-width 4)
78 82
79;; Default coding style 83;; Default coding style