update editorconfig

This commit is contained in:
2025-07-25 22:32:14 +03:00
parent 5df04b21df
commit c9016c364f
2 changed files with 52 additions and 93 deletions

View File

@@ -1,7 +1,7 @@
# EditorConfig is awesome: https://EditorConfig.org
root = true
# for all projects
# for all files
[*]
indent_style = space
indent_size = 4
@@ -10,62 +10,21 @@ charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
# Python
[*.py]
indent_style = space
indent_size = 4
# PHP
[*.php]
indent_style = space
indent_size = 4
# Crystal
[*.cr]
indent_style = space
indent_size = 2
# C
[{*.c,*.h}]
indent_style = space
indent_size = 4
# Web Sites
[{*.html,*.css,*.json}]
indent_style = tab
indent_size = 4
[humans.txt]
indent_style = tab
indent_size = 2
# Other
[Makefile]
indent_style = tab
indent_size = 4
# Markdown
[*.md]
trim_trailing_whitespace = false
[.gitconfig]
# Git
[{.gitconfig,.gitignore}]
indent_style = tab
indent_size = 4
# JavaScript
[*.js]
indent_style = space
indent_size = 2
[package.json]
indent_style = space
indent_size = 2
## for this repo
[~/SSH/config]
## ssh config
[*/SSH/{main,private}]
indent_style = tab
indent_size = 4
[~/SublimeText/*.sublime-*]
# Sublime Text
[*.sublime-*]
indent_style = tab
indent_size = 4

View File

@@ -1,47 +1,47 @@
[
{
"caption": "_@",
"id": "me.iiiypuk",
"children":
[
{
"caption": "Open ♥",
"command": "open_file", "args": { "file": "" },
},
{
"caption": "Open GPG",
"command": "open_file", "args": { "file": "" },
},
{
"caption": "-"
},
{
"caption": "Open Recent",
"mnemonic": "R",
"children":
[
{ "command": "reopen_last_file", "caption": "Reopen Closed File" },
{ "caption": "-" },
{ "command": "open_recent_file", "args": {"index": 0 } },
{ "command": "open_recent_file", "args": {"index": 1 } },
{ "command": "open_recent_file", "args": {"index": 2 } },
{ "command": "open_recent_file", "args": {"index": 3 } },
{ "command": "open_recent_file", "args": {"index": 4 } },
{ "command": "open_recent_file", "args": {"index": 5 } },
{ "command": "open_recent_file", "args": {"index": 6 } },
{ "command": "open_recent_file", "args": {"index": 7 } },
{ "command": "open_recent_file", "args": {"index": 8 } },
{ "command": "open_recent_file", "args": {"index": 9 } },
{ "command": "open_recent_file", "args": {"index": 10 } },
{ "command": "open_recent_file", "args": {"index": 11 } },
{ "command": "open_recent_file", "args": {"index": 12 } },
{ "command": "open_recent_file", "args": {"index": 13 } },
{ "command": "open_recent_file", "args": {"index": 14 } },
{ "command": "open_recent_file", "args": {"index": 15 } },
{ "caption": "-" },
{ "command": "clear_recent_files", "caption": "Clear Items" }
]
},
]
},
{
"caption": "_@",
"id": "me.iiiypuk",
"children":
[
{
"caption": "Open ♥",
"command": "open_file", "args": { "file": "" },
},
{
"caption": "Open GPG",
"command": "open_file", "args": { "file": "" },
},
{
"caption": "-"
},
{
"caption": "Open Recent",
"mnemonic": "R",
"children":
[
{ "command": "reopen_last_file", "caption": "Reopen Closed File" },
{ "caption": "-" },
{ "command": "open_recent_file", "args": {"index": 0 } },
{ "command": "open_recent_file", "args": {"index": 1 } },
{ "command": "open_recent_file", "args": {"index": 2 } },
{ "command": "open_recent_file", "args": {"index": 3 } },
{ "command": "open_recent_file", "args": {"index": 4 } },
{ "command": "open_recent_file", "args": {"index": 5 } },
{ "command": "open_recent_file", "args": {"index": 6 } },
{ "command": "open_recent_file", "args": {"index": 7 } },
{ "command": "open_recent_file", "args": {"index": 8 } },
{ "command": "open_recent_file", "args": {"index": 9 } },
{ "command": "open_recent_file", "args": {"index": 10 } },
{ "command": "open_recent_file", "args": {"index": 11 } },
{ "command": "open_recent_file", "args": {"index": 12 } },
{ "command": "open_recent_file", "args": {"index": 13 } },
{ "command": "open_recent_file", "args": {"index": 14 } },
{ "command": "open_recent_file", "args": {"index": 15 } },
{ "caption": "-" },
{ "command": "clear_recent_files", "caption": "Clear Items" }
]
},
]
},
]