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 # EditorConfig is awesome: https://EditorConfig.org
root = true root = true
# for all projects # for all files
[*] [*]
indent_style = space indent_style = space
indent_size = 4 indent_size = 4
@@ -10,62 +10,21 @@ charset = utf-8
trim_trailing_whitespace = true trim_trailing_whitespace = true
insert_final_newline = 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 # Markdown
[*.md] [*.md]
trim_trailing_whitespace = false trim_trailing_whitespace = false
[.gitconfig] # Git
[{.gitconfig,.gitignore}]
indent_style = tab indent_style = tab
indent_size = 4 indent_size = 4
# JavaScript ## ssh config
[*.js] [*/SSH/{main,private}]
indent_style = space
indent_size = 2
[package.json]
indent_style = space
indent_size = 2
## for this repo
[~/SSH/config]
indent_style = tab indent_style = tab
indent_size = 4 indent_size = 4
[~/SublimeText/*.sublime-*] # Sublime Text
[*.sublime-*]
indent_style = tab indent_style = tab
indent_size = 4 indent_size = 4

View File

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