Skip to content

Commit f62bebf

Browse files
committed
Specify correct path_suffixes to get Zed pick this lang automatically
1 parent 3fb733d commit f62bebf

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Open Settings with Cmd+, and add:
1313

1414
```json
1515
"file_types": {
16-
"ReScript": ["res"]
16+
"ReScript": ["res", "resi"]
1717
}
1818
```
1919

languages/rescript/config.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "ReScript"
22
grammar = "rescript"
3-
path_suffixes = ["rescript"]
3+
path_suffixes = ["res", "resi"]
44
line_comments = ["// "]
55
block_comment = ["/* ", " */"]
66
brackets = [

0 commit comments

Comments
 (0)