summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
authorAlan Pearce2017-06-12 14:56:20 +0200
committerAlan Pearce2017-06-12 14:56:20 +0200
commit66d9186ccf874950d6f1267791ad86d61d0af7e6 (patch)
tree97e757c3698a9ba3ce2adfa4e4503b67ce507044 /emacs
parentaeeac53fe665030a84766755482137444abc231e (diff)
downloadnixfiles-66d9186ccf874950d6f1267791ad86d61d0af7e6.tar.lz
nixfiles-66d9186ccf874950d6f1267791ad86d61d0af7e6.tar.zst
nixfiles-66d9186ccf874950d6f1267791ad86d61d0af7e6.zip
Emacs: Don't slant JS object property keywords
It doesn't work well with computed properties and smartparens.  I'm
not too concerned about why right now, so just work around it.
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/init.org1
1 files changed, 1 insertions, 0 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org
index 745bba8a..b4d7c87b 100644
--- a/emacs/.emacs.d/init.org
+++ b/emacs/.emacs.d/init.org
@@ -197,6 +197,7 @@ Eziam looks nice, too
             (custom-theme-set-faces 'user
                                     '(default ((t (:background "#ffffff"))))
                                     '(js2-function-call ((t (:underline nil))))
+                                    '(js2-object-property ((t (:slant normal))))
                                     '(font-lock-keyword-face ((t (:weight normal))))
                                     '(git-gutter-fr:added ((t (:foreground "#96a4ab"))))
                                     '(git-gutter-fr:modified ((t (:foreground "#96a4ab"))))