forked from systemd/mkosi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.dir-locals.el
23 lines (20 loc) · 873 Bytes
/
.dir-locals.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
; Sets emacs variables based on mode.
; A list of (major-mode . ((var1 . value1) (var2 . value2)))
; Mode can be nil, which gives default values.
; Note that we set a wider line width source files, but for everything else we
; stick to a more conservative 79 characters.
; NOTE: Keep this file in sync with .editorconfig.
((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)))
(sh-mode . ((sh-basic-offset . 4)
(sh-indentation . 4)))
(markdown-mode . ((fill-column . 109)))
(nil . ((indent-tabs-mode . nil)
(tab-width . 4)
(fill-column . 79))))