diff options
author | William Carroll <wpcarro@gmail.com> | 2020-01-06T15·19+0000 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2020-01-17T10·56+0000 |
commit | e8e5ec5f40890a8a22bcf4d59f2f57239063c4f3 (patch) | |
tree | 9d10d2cf5ce630facba4035d1d5f168e8be2a70c /configs/shared/.emacs.d/wpc/packages/wpc-python.el | |
parent | 6e77fc79782864e77e064383669617ef33d71b8d (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.el | 12 |
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 |