mirror of
https://github.com/systemd/systemd.git
synced 2026-06-24 08:47:49 +00:00
emacs: add settings for Python modes
Both python-mode and python-ts-mode are shipped by Emacs nowadays, with the latter being the more modern tree-sitter-based one. Even though they are similar, the newer one doesn't automatically take the older ones settings.
This commit is contained in:
committed by
Yu Watanabe
parent
24b79ff1d0
commit
2cdf552762
@@ -22,6 +22,14 @@
|
||||
(meson-mode . ((meson-indent-basic . 8)))
|
||||
(sh-mode . ((sh-indentation . 4)))
|
||||
(awk-mode . ((c-basic-offset . 8)))
|
||||
(python-mode . ((indent-tabs-mode . nil)
|
||||
(tab-width . 4)
|
||||
(fill-column . 109)
|
||||
(python-indent-def-block-scale . 1)))
|
||||
(python-ts-mode . ((indent-tabs-mode . nil)
|
||||
(tab-width . 4)
|
||||
(fill-column . 109)
|
||||
(python-indent-def-block-scale . 1)))
|
||||
(nil . ((indent-tabs-mode . nil)
|
||||
(tab-width . 8)
|
||||
(fill-column . 79))) )
|
||||
|
||||
Reference in New Issue
Block a user