diff options
| author | Ralph Amissah <ralph.amissah@gmail.com> | 2026-04-29 21:40:56 -0400 |
|---|---|---|
| committer | Ralph Amissah <ralph.amissah@gmail.com> | 2026-04-29 21:40:56 -0400 |
| commit | 1be9f0e225c3d4c1f5fae73d60e4284a030ee520 (patch) | |
| tree | eabb7756c31c9b855aa64fa149e44996a104ada1 | |
| parent | flake devshells renames (diff) | |
| -rw-r--r-- | .editorconfig | 28 | ||||
| -rw-r--r-- | .gitignore | 2 | ||||
| -rw-r--r-- | org/config_env.org | 34 | ||||
| -rw-r--r-- | org/config_git.org | 2 |
4 files changed, 66 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..8a834da --- /dev/null +++ b/.editorconfig @@ -0,0 +1,28 @@ +# EditorConfig : https://editorconfig.org + +# top-most EditorConfig file +root = true + +# Unix-style newlines with a newline ending every file +[*] +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true + +# Matches multiple files with brace expansion notation +# Set default charset +[*.{org,d,nix}] +charset = utf-8 + +# Indentation override for all D under src directory +[src/sisudoc/**.d] +indent_style = space +indent_size = 2 + +# Tab indentation (no size specified) +[Makefile] +indent_style = tab + +[{dub.selections.json,dub_describe.json}] +indent_style = space +indent_size = 2 @@ -1,4 +1,5 @@ # git ls-files --others --exclude-from=.git/info/exclude +# git ls-files --others --ignored --exclude-standard --directory # git check-ignore -v flake.lock # git clean -ix # find . -name "*_" | xargs rm -rf @@ -6,6 +7,7 @@ * !.gitignore !.gitattributes +!.editorconfig !nix/** !*.nix !flake.lock diff --git a/org/config_env.org b/org/config_env.org index 7120e5b..dfda8d6 100644 --- a/org/config_env.org +++ b/org/config_env.org @@ -156,6 +156,40 @@ export SpineCGIbin=/var/www/cgi/cgi-bin export SpineDBpath=/var/www/sqlite #+END_SRC +* editorconfig + +#+HEADER: :tangle "../.editorconfig" +#+BEGIN_SRC gitignore +# EditorConfig : https://editorconfig.org + +# top-most EditorConfig file +root = true + +# Unix-style newlines with a newline ending every file +[*] +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true + +# Matches multiple files with brace expansion notation +# Set default charset +[*.{org,d,nix}] +charset = utf-8 + +# Indentation override for all D under src directory +[src/sisudoc/**.d] +indent_style = space +indent_size = 2 + +# Tab indentation (no size specified) +[Makefile] +indent_style = tab + +[{dub.selections.json,dub_describe.json}] +indent_style = space +indent_size = 2 +#+END_SRC + * org includes - versions GET ** direnv diff --git a/org/config_git.org b/org/config_git.org index f84a67b..e1ce3bb 100644 --- a/org/config_git.org +++ b/org/config_git.org @@ -21,6 +21,7 @@ #+HEADER: :tangle "../.gitignore" #+BEGIN_SRC gitignore # git ls-files --others --exclude-from=.git/info/exclude +# git ls-files --others --ignored --exclude-standard --directory # git check-ignore -v flake.lock # git clean -ix # find . -name "*_" | xargs rm -rf @@ -28,6 +29,7 @@ ,* !.gitignore !.gitattributes +!.editorconfig !nix/** !*.nix !flake.lock |
