diff options
| author | srdusr <trevorgray@srdusr.com> | 2023-08-11 22:58:36 +0200 |
|---|---|---|
| committer | srdusr <trevorgray@srdusr.com> | 2023-08-11 22:58:36 +0200 |
| commit | c4c09d67443d0e09406b3559e4c0da7133d45fcf (patch) | |
| tree | b683a28e1884ba82d4dec884995617ebc01e0527 /.editorconfig | |
| parent | e39b6260ba9397e595c503787bfa94cd1c7d7c59 (diff) | |
| download | dotfiles-c4c09d67443d0e09406b3559e4c0da7133d45fcf.tar.gz dotfiles-c4c09d67443d0e09406b3559e4c0da7133d45fcf.zip | |
Add .editorconfig
Diffstat (limited to '.editorconfig')
| -rw-r--r-- | .editorconfig | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..234928e --- /dev/null +++ b/.editorconfig @@ -0,0 +1,41 @@ +root = true + + +[*] +charset = utf-8 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true +indent_style = space +indent_size = 4 +max_line_length = 10000 + +# TypeScript/JavaScript config +[**.{ts,js}] +indent_size = 2 + +# Json config +[**.json] +indent_size = 2 + +# Lua config +[**.lua] +indent_size = 2 + +# Latex config +[**.tex] +trim_trailing_whitespace = false + +# Markdown config +[**.md] +trim_trailing_whitespace = false + +# Textfile config +[**.txt] +trim_trailing_whitespace = false +insert_final_newline = false + +# Snippets config +[**.snippets] +indent_style = tab + |
