branch: elpa/spacemacs-theme
commit 122b5b7edb0202610be7fcfd96b7a5e03b418de3
Merge: e630b0cbaf ec6808cded
Author: Nasser Alshammari <[email protected]>
Commit: GitHub <[email protected]>
Merge pull request #112 from jabranham/theme-ess
Theme ess
---
README.md | 1 +
spacemacs-common.el | 13 +++++++++++++
2 files changed, 14 insertions(+)
diff --git a/README.md b/README.md
index 4f7c9d145a..57d51667ef 100644
--- a/README.md
+++ b/README.md
@@ -34,6 +34,7 @@ Some of the supported modes are:
* company
* ein
* erc
+* ESS modes (users may want to customize the variables
ess-R-font-lock-keywords and inferior-ess-r-font-lock-keywords)
* gnus
* helm
* ido
diff --git a/spacemacs-common.el b/spacemacs-common.el
index 109e0d961e..713f3a56f0 100644
--- a/spacemacs-common.el
+++ b/spacemacs-common.el
@@ -355,6 +355,19 @@ to 'auto, tags may not be properly aligned. "
`(eshell-ls-unreadable ((,class (:foreground ,base))))
`(eshell-prompt ((,class (:foreground ,keyword :inherit bold))))
+;;;;; ESS
+ `(ess-assignment-face ((,class (:foreground ,type :inherit bold))))
+ `(ess-backquoted-face ((,class (:foreground ,var))))
+ `(ess-constant-face ((,class (:inherit font-lock-constant-face))))
+ `(ess-f-t-face ((,class (:inherit font-lock-constant-face))))
+ `(ess-function-call-face ((,class (:foreground ,func))))
+ `(ess-keyword-face ((,class (:inherit font-lock-keyword-face))))
+ `(ess-matrix-face ((,class (:foreground ,base-dim))))
+ `(ess-modifiers-face ((,class (:foreground ,keyword))))
+ `(ess-numbers-face ((,class (:inherit font-lock-constant-face))))
+ `(ess-operator-face ((,class (:foreground ,var))))
+ `(ess-paren-face ((,class (:foreground ,blue))))
+
;;;;; evil
`(evil-ex-substitute-matches ((,class (:background ,red-bg :foreground
,red))))
`(evil-ex-substitute-replacement ((,class (:background ,green-bg
:foreground ,green))))