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:
parent
6e77fc7978
commit
e8e5ec5f40
3 changed files with 19 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue