Add highlight-numbers-mode to python & elisp
This commit is contained in:
parent
4aece988ff
commit
be46654629
2 changed files with 5 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue