mirror of
https://github.com/Eugeny/tabby
synced 2024-12-04 18:40:16 +00:00
eec647752d
This sets the indentation size of various filetypes common in this project. The preferred tab width for tab-indented files is unknown, so TODO comments have been left there. This helps keep uniform behavior in any text editor that has EditorConfig enabled. Additionally, the tab width provided for color scheme files makes it easier to align hex values when editing a file manually.
39 lines
607 B
INI
39 lines
607 B
INI
root = true
|
|
|
|
[*]
|
|
end_of_line = LF
|
|
charset = utf-8
|
|
trim_trailing_whitespace = true
|
|
insert_final_newline = true
|
|
|
|
[*.sln]
|
|
indent_style = tab
|
|
# TODO Determine if there is a preferred tab width for this file type
|
|
|
|
# Programming/Scripts
|
|
[*.{js,ts}]
|
|
indent_style = space
|
|
indent_size = 4
|
|
|
|
[*.cpp]
|
|
indent_style = tab
|
|
# TODO Determine if there is a preferred tab width for this file type
|
|
|
|
# Markup
|
|
[*.pug]
|
|
indent_style = space
|
|
indent_size = 4
|
|
|
|
# Stylesheets
|
|
[*.scss]
|
|
indent_style = space
|
|
indent_size = 4
|
|
|
|
# Data Files
|
|
[*.json]
|
|
indent_style = space
|
|
indent_size = 2
|
|
|
|
[*.{yaml,yml}]
|
|
indent_style = space
|
|
indent_size = 2
|