Editorconfig provides the concept of cascading rules, refer to https://editorconfig.org/#file-location. For instance, I use a rule which limits line length in git commit messages which enables `vim` to re-flow the text by a simple command. Setting `root=true` in LT's own `.editorconfig` file prevents any such user-defined rules from being propagated. Remove `root=true` to enable user-defined rules.
13 lines
227 B
INI
Executable File
13 lines
227 B
INI
Executable File
# EditorConfig is awesome: http://EditorConfig.org
|
|
|
|
[*]
|
|
indent_style = space
|
|
indent_size = 2
|
|
end_of_line = lf
|
|
charset = utf-8
|
|
trim_trailing_whitespace = true
|
|
insert_final_newline = true
|
|
|
|
[*.md]
|
|
trim_trailing_whitespace = false
|