Skip to content

Commit e58ad32

Browse files
committed
Detect *.h files as C in Helix
1 parent 33c995e commit e58ad32

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.editorconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ indent_style = tab
1414
indent_size = 2
1515
indent_style = space
1616

17+
[*.toml]
18+
indent_size = 4
19+
indent_style = space
20+
1721
[*.{yaml,yml}]
1822
indent_size = 2
1923
indent_style = space

.helix/languages.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[[language]]
2+
name = "c"
3+
file-types = ["c", "h"]

0 commit comments

Comments
 (0)