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.
This commit is contained in:
William Carroll 2020-01-06 15:19:57 +00:00
parent 6e77fc7978
commit e8e5ec5f40
3 changed files with 19 additions and 0 deletions

View file

@ -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