add csv mode (wip), add lsp support to python-mode

This commit is contained in:
2026-06-22 10:02:50 +02:00
parent bd42d183bc
commit aed5c1c67f
5 changed files with 44 additions and 35 deletions

View File

@@ -2,15 +2,15 @@
:mode ("\\.py\\'" . python-mode)
:interpreter ("python" . python-mode)
:mode "\\.py\\'"
:hook
(function
(lambda()
(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!
)))
: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))
:hook ((python-mode . tvd-python-hook)))
(provide 'init-python)
;;; init-python.el ends here