Use a different theme. Fix error in alchemist-company configuration
This commit is contained in:
parent
979c0e8787
commit
8f565c11ee
2 changed files with 11 additions and 3 deletions
|
|
@ -19,6 +19,8 @@
|
||||||
(load-theme 'base16-mexico-light t t)
|
(load-theme 'base16-mexico-light t t)
|
||||||
(load-theme 'base16-unikitty-light t t)
|
(load-theme 'base16-unikitty-light t t)
|
||||||
(load-theme 'base16-summerfruit-light t t)
|
(load-theme 'base16-summerfruit-light t t)
|
||||||
|
(load-theme 'base16-material-darker t t)
|
||||||
|
(load-theme 'atom-one-dark t t)
|
||||||
|
|
||||||
(defun base16-harmonic-custom ()
|
(defun base16-harmonic-custom ()
|
||||||
"Additional configuration for Base 16 theme."
|
"Additional configuration for Base 16 theme."
|
||||||
|
|
@ -38,11 +40,17 @@
|
||||||
(set-face-attribute 'linum nil :font "Hasklig 15"
|
(set-face-attribute 'linum nil :font "Hasklig 15"
|
||||||
:slant 'normal))
|
:slant 'normal))
|
||||||
|
|
||||||
|
(defun base16-material-darker-custom ()
|
||||||
|
"Additional configuration for Base16 theme."
|
||||||
|
(set-face-attribute 'mode-line nil :font "Hasklig 15")
|
||||||
|
(set-face-attribute 'linum nil :font "Hasklig 15"
|
||||||
|
:slant 'normal))
|
||||||
|
|
||||||
(require 'helm-themes)
|
(require 'helm-themes)
|
||||||
(if (display-graphic-p)
|
(if (display-graphic-p)
|
||||||
(progn
|
(progn
|
||||||
(enable-theme 'base16-not-harmonic)
|
(enable-theme 'base16-material-darker)
|
||||||
(base16-harmonic-custom))
|
(base16-material-darker-custom))
|
||||||
(progn
|
(progn
|
||||||
(color-theme-approximate-on)
|
(color-theme-approximate-on)
|
||||||
(enable-theme 'flatui)))
|
(enable-theme 'flatui)))
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@
|
||||||
(alchemist-mode 1)
|
(alchemist-mode 1)
|
||||||
(company-mode 1)
|
(company-mode 1)
|
||||||
(set (make-local-variable 'company-backends)
|
(set (make-local-variable 'company-backends)
|
||||||
'((company-alchemist company-yasnippet company-dabbrev company-files))))
|
'((alchemist-company company-yasnippet company-dabbrev company-files))))
|
||||||
|
|
||||||
;;========== Hooks =================================
|
;;========== Hooks =================================
|
||||||
(add-hook 'elixir-mode-hook 'editor-config-elixir)
|
(add-hook 'elixir-mode-hook 'editor-config-elixir)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue