Skip to content

Commit 2ebfda5

Browse files
committed
chore: dotfiles handle Idris2 (.idr/.ipkg) + EBNF
The repos are Idris2 through-and-through but the template .gitattributes / .editorconfig did not cover .idr/.ipkg/.ebnf: add LF normalisation, linguist-language=Idris, and a 2-space [*.idr] rule. SPDX header untouched. Canonical fix also belongs upstream in rsr-template.
1 parent c870f93 commit 2ebfda5

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

.editorconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,3 +63,6 @@ indent_size = 2
6363
indent_style = space
6464
indent_size = 4
6565

66+
67+
[*.idr]
68+
indent_size = 2

.gitattributes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414
*.adb text eol=lf diff=ada
1515
*.ads text eol=lf diff=ada
1616
*.hs text eol=lf
17+
*.idr text eol=lf linguist-language=Idris
18+
*.ipkg text eol=lf
19+
*.ebnf text eol=lf
1720
*.chpl text eol=lf
1821
*.scm text eol=lf
1922
*.a2ml text eol=lf linguist-language=TOML

0 commit comments

Comments
 (0)