From 400f37104bd17c19797168b677708989ca0df450 Mon Sep 17 00:00:00 2001 From: Ilan Cosman Date: Tue, 11 Jan 2022 10:53:37 -0800 Subject: [PATCH] Add .editorconfig --- .editorconfig | 15 +++++++++++++++ .github/CODEOWNERS | 2 +- functions/tide.fish | 20 ++++++++++---------- 3 files changed, 26 insertions(+), 11 deletions(-) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..ac81b14 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,15 @@ +root = true + +[*] +charset = utf-8 +end_of_line = lf +indent_size = 4 +indent_style = space +insert_final_newline = true +trim_trailing_whitespace = true + +[*.{json,md,yml}] +indent_size = 2 + +[Makefile] +indent_style = tab diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index d792908..583f291 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1 +1 @@ -* @IlanCosman \ No newline at end of file +* @IlanCosman diff --git a/functions/tide.fish b/functions/tide.fish index cd71669..ed4e4b9 100644 --- a/functions/tide.fish +++ b/functions/tide.fish @@ -14,14 +14,14 @@ function tide --description 'Manage your Tide prompt' end function _tide_help - echo "\ -Usage: tide [options] subcommand [options] - -Options: - -v or --version print tide version number - -h or --help print this help message - -Subcommands: - configure run interactive configuration wizard - bug-report print info for use in bug reports" + printf %s\n \ + 'Usage: tide [options] subcommand [options]' \ + '' \ + 'Options:' \ + ' -v or --version print tide version number' \ + ' -h or --help print this help message' \ + '' \ + 'Subcommands:' \ + ' configure run interactive configuration wizard' \ + ' bug-report print info for use in bug reports' end -- knotmirror 0.0.1