mirror of
https://github.com/webhooked/kanso.nvim.git
synced 2026-05-31 06:07:07 +02:00
Adds an EditorConfig file to maintain consistent coding styles across editors. Reformats code with consistent indentation using spaces instead of tabs. Makes minor color palette adjustments.
45 lines
654 B
INI
45 lines
654 B
INI
# top-most EditorConfig file
|
|
root = true
|
|
|
|
# Unix-style newlines with a newline ending every file
|
|
[*]
|
|
end_of_line = lf
|
|
insert_final_newline = true
|
|
trim_trailing_whitespace = true
|
|
charset = utf-8
|
|
|
|
# Lua files
|
|
[*.lua]
|
|
indent_style = space
|
|
indent_size = 4
|
|
|
|
# Vim files
|
|
[*.vim]
|
|
indent_style = space
|
|
indent_size = 2
|
|
|
|
# Markdown files
|
|
[*.md]
|
|
indent_style = space
|
|
indent_size = 2
|
|
trim_trailing_whitespace = false
|
|
|
|
# YAML files
|
|
[*.{yml,yaml}]
|
|
indent_style = space
|
|
indent_size = 2
|
|
|
|
# TOML files
|
|
[*.toml]
|
|
indent_style = space
|
|
indent_size = 2
|
|
|
|
# Shell scripts
|
|
[*.sh]
|
|
indent_style = space
|
|
indent_size = 2
|
|
|
|
# Config files
|
|
[*.conf]
|
|
indent_style = space
|
|
indent_size = 2
|