Files
dot-emacs/lisp/init-python.el

17 lines
466 B
EmacsLisp
Raw Normal View History

2023-05-16 11:18:38 +02:00
(use-package python
:mode ("\\.py\\'" . python-mode)
:interpreter ("python" . python-mode)
:mode "\\.py\\'"
:config
(defun tvd-python-hook()
(local-set-key [delete] 'py-electric-delete)
(setq-default indent-tabs-mode nil)
(setq mode-name "PY")
(outline-minor-mode 0) ;; turn off outline here. FIXME: find out where it's turned on!
(lsp))
2023-05-16 11:18:38 +02:00
:hook ((python-mode . tvd-python-hook)))
2023-05-16 11:18:38 +02:00
(provide 'init-python)
;;; init-python.el ends here