From 73f1da782ae13bd64ee00f827c6ee0db799d1222 Mon Sep 17 00:00:00 2001 From: seth Date: Tue, 23 Aug 2022 23:23:41 -0400 Subject: add .editorconfig --- .editorconfig | 12 ++++++++++++ docs/default-config.json | 22 +++++++++++----------- 2 files changed, 23 insertions(+), 11 deletions(-) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..f358376 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,12 @@ +root = true + +[*] +charset = uf-8 +end_of_line = lf +indent_size = 2 +indent_style = space +insert_final_newline = true +trim_trailing_whitespace = true + +[*.py] +indent_size = 4 diff --git a/docs/default-config.json b/docs/default-config.json index f4a1573..22b95b4 100644 --- a/docs/default-config.json +++ b/docs/default-config.json @@ -1,22 +1,22 @@ { - "system_update_cmds": { - "arch": "pacman -Sy --needed archlinux-keyring && pacman -Su", - "debian": "apt update && apt upgrade", - "fedora": "dnf upgrade" + "system_update_cmds": { + "arch": "pacman -Sy --needed archlinux-keyring && pacman -Su", + "debian": "apt update && apt upgrade", + "fedora": "dnf upgrade" }, "extra_cmds": { - "arch": "paru -Sua" + "arch": "paru -Sua" }, "clean_cmds": { - "arch": "paru -c", - "debian": "apt-get --purge autoremove", - "fedora": "dnf autoremove" + "arch": "paru -c", + "debian": "apt-get --purge autoremove", + "fedora": "dnf autoremove" }, "shell_plugin_cmds": { - "fish": "fisher update", - "zsh": "source $ZDOTDIR/.antidote/antidote.zsh && antidote update" + "fish": "fisher update", + "zsh": "source $ZDOTDIR/.antidote/antidote.zsh && antidote update" }, "other_cmds": { - "neovim": "nvim --headless -c 'autocmd User PackerComplete quitall' -c 'PackerSync'" + "neovim": "nvim --headless -c 'autocmd User PackerComplete quitall' -c 'PackerSync'" } } -- cgit v1.2.3