Add highlight-numbers-mode to python & elisp

This commit is contained in:
Henrik Lissner 2017-06-07 14:36:24 +02:00
parent 4aece988ff
commit be46654629
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 5 additions and 3 deletions

View file

@ -7,9 +7,9 @@
python-indent-guess-indent-offset-verbose nil
python-shell-interpreter "python")
(add-hook 'python-mode-hook #'flycheck-mode)
:config
(add-hook! 'python-mode-hook #'(flycheck-mode highlight-numbers-mode))
(set! :repl 'python-mode #'+python/repl)
(set! :electric 'python-mode :chars '(?:))
(define-key python-mode-map (kbd "DEL") nil) ; interferes with smartparens