mirror of
https://github.com/alacritty/alacritty.git
synced 2024-12-16 14:27:41 -05:00
bd4906722a
This switches Alacritty's default configuration format from yaml to toml. While yaml is still supported, it is done by converting it to toml and should be removed entirely in the future. All existing features were persisted based on my testing. Behavior should not change much, though `--option` might have slightly different behavior since the entire line is not interpreted as one line of toml. A new `alacritty migrate` subcommand has been added which allows automatic migration from yaml to toml. This also could be used as a facility to automatically fix configuration file changes in the future. Closes #6592.
18 lines
240 B
INI
18 lines
240 B
INI
root = true
|
|
|
|
[*]
|
|
charset = utf-8
|
|
end_of_line = lf
|
|
trim_trailing_whitespace = true
|
|
insert_final_newline = true
|
|
|
|
[*.{glsl,rs,toml}]
|
|
indent_style = space
|
|
indent_size = 4
|
|
|
|
[Makefile]
|
|
indent_style = tab
|
|
|
|
[*.scd]
|
|
indent_style = tab
|
|
tab_width = 4
|