about summary refs log tree commit diff
path: root/configs/shared/.emacs.d/wpc/packages/wpc-python.el
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-01-06T15·19+0000
committerWilliam Carroll <wpcarro@gmail.com>2020-01-17T10·56+0000
commite8e5ec5f40890a8a22bcf4d59f2f57239063c4f3 (patch)
tree9d10d2cf5ce630facba4035d1d5f168e8be2a70c /configs/shared/.emacs.d/wpc/packages/wpc-python.el
parent6e77fc79782864e77e064383669617ef33d71b8d (diff)
Install prism for scope-highlighting > syntax highlighting
I've wanted a library like this ever since I saw Douglas Crockford's JS talk
about scope highlighting as a more useful alternative to syntax highlighting.
Diffstat (limited to 'configs/shared/.emacs.d/wpc/packages/wpc-python.el')
-rw-r--r--configs/shared/.emacs.d/wpc/packages/wpc-python.el12
1 files changed, 12 insertions, 0 deletions
diff --git a/configs/shared/.emacs.d/wpc/packages/wpc-python.el b/configs/shared/.emacs.d/wpc/packages/wpc-python.el
index d0c6dd0d3e42..811327d63f11 100644
--- a/configs/shared/.emacs.d/wpc/packages/wpc-python.el
+++ b/configs/shared/.emacs.d/wpc/packages/wpc-python.el
@@ -9,9 +9,21 @@
 
 ;;; Code:
 
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;; Dependencies
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+(require 'prism)
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;; Configuration
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
 (use-package py-yapf
   :config
   (add-hook 'python-mode-hook #'py-yapf-enable-on-save))
 
+(add-hook 'python-mode-hook #'prism-mode)
+
 (provide 'wpc-python)
 ;;; wpc-python.el ends here