mirror of
https://github.com/zoriya/auto-save.nvim.git
synced 2025-12-06 06:36:11 +00:00
Made stylua.toml use two spaces as indentation since that seems to be the most common convention in lua. Rest of the settings are kept in Stylua defaults but made explicit. Also updated .editorconfig to match config in stylua.toml.
21 lines
406 B
INI
21 lines
406 B
INI
# EditorConfig helps developers define and maintain consistent
|
|
# coding styles between different editors and IDEs
|
|
# EditorConfig is awesome: https://EditorConfig.org
|
|
|
|
root = true
|
|
|
|
[*]
|
|
end_of_line = lf
|
|
charset = utf-8
|
|
trim_trailing_whitespace = true
|
|
insert_final_newline = true
|
|
indent_style = space
|
|
indent_size = 2
|
|
|
|
[*.txt]
|
|
indent_style = tab
|
|
indent_size = 4
|
|
|
|
[*.{diff,md}]
|
|
trim_trailing_whitespace = false
|