From 69d702f2076930b8cc88c73420fc849eb4b807ce Mon Sep 17 00:00:00 2001 From: pommicket Date: Thu, 19 Oct 2023 10:45:34 -0400 Subject: editorconfig seems to be working --- test/editorconfig/.editorconfig | 18 ++++++++++++++++++ test/editorconfig/file.txt | 3 +++ test/editorconfig/gov.biz | 2 ++ test/editorconfig/r.dat | 2 ++ test/editorconfig/subdir/.editorconfig | 5 +++++ test/editorconfig/subdir/a.biz | 3 +++ 6 files changed, 33 insertions(+) create mode 100644 test/editorconfig/.editorconfig create mode 100644 test/editorconfig/file.txt create mode 100644 test/editorconfig/gov.biz create mode 100644 test/editorconfig/r.dat create mode 100644 test/editorconfig/subdir/.editorconfig create mode 100644 test/editorconfig/subdir/a.biz (limited to 'test/editorconfig') diff --git a/test/editorconfig/.editorconfig b/test/editorconfig/.editorconfig new file mode 100644 index 0000000..d97f36d --- /dev/null +++ b/test/editorconfig/.editorconfig @@ -0,0 +1,18 @@ +root = true +; yipee +# comments + +[*] +trim_TRAILING_whitespace=true +insert_final_newline=true +indent_sizE=16 +indent_style=Space +funkel = mitochondrion + +[*.biz] +# i love microsoft widnwso +end_of_linE = CRLF + +[*.txt] +indent_size = 4 +Indent_Style = tab diff --git a/test/editorconfig/file.txt b/test/editorconfig/file.txt new file mode 100644 index 0000000..21d9f41 --- /dev/null +++ b/test/editorconfig/file.txt @@ -0,0 +1,3 @@ + yep +here's a file + things diff --git a/test/editorconfig/gov.biz b/test/editorconfig/gov.biz new file mode 100644 index 0000000..60f6a24 --- /dev/null +++ b/test/editorconfig/gov.biz @@ -0,0 +1,2 @@ +MICROSOFT® + DISK OPERATING SYSTEM diff --git a/test/editorconfig/r.dat b/test/editorconfig/r.dat new file mode 100644 index 0000000..43dda4a --- /dev/null +++ b/test/editorconfig/r.dat @@ -0,0 +1,2 @@ +ORDINARY FILE + FILE DATA HERE diff --git a/test/editorconfig/subdir/.editorconfig b/test/editorconfig/subdir/.editorconfig new file mode 100644 index 0000000..610d487 --- /dev/null +++ b/test/editorconfig/subdir/.editorconfig @@ -0,0 +1,5 @@ +; don't apply ../.editorconfig +root = true + +[*] +indent_size = 4 diff --git a/test/editorconfig/subdir/a.biz b/test/editorconfig/subdir/a.biz new file mode 100644 index 0000000..2c17b88 --- /dev/null +++ b/test/editorconfig/subdir/a.biz @@ -0,0 +1,3 @@ +yahoo + business + ventures -- cgit v1.2.3