mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-14 01:50:22 -08:00
* lisp/align.el (align-rules-list): Add rule for conf-toml-mode. * test/lisp/align-resources/conf-toml-mode.erts: New file. * test/lisp/align-tests.el (align-toml): New test.
45 lines
415 B
Text
45 lines
415 B
Text
Name: align key-value pairs
|
|
|
|
=-=
|
|
[foo]
|
|
foo1=10
|
|
foo22=20
|
|
|
|
[bar]
|
|
bar333="example.org"
|
|
bar4444 = "zzz"
|
|
=-=
|
|
[foo]
|
|
foo1 = 10
|
|
foo22 = 20
|
|
|
|
[bar]
|
|
bar333 = "example.org"
|
|
bar4444 = "zzz"
|
|
=-=-=
|
|
|
|
Name: align list values
|
|
|
|
=-=
|
|
[foo]
|
|
a = 1
|
|
some_list = [
|
|
true,
|
|
false,
|
|
]
|
|
some_other_list = [
|
|
1,
|
|
2,
|
|
]
|
|
=-=
|
|
[foo]
|
|
a = 1
|
|
some_list = [
|
|
true,
|
|
false,
|
|
]
|
|
some_other_list = [
|
|
1,
|
|
2,
|
|
]
|
|
=-=-=
|