Skip to content

Commit 3fb733d

Browse files
committed
Add info about how to associate the file type with the language
1 parent d78bc34 commit 3fb733d

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,16 @@ This extension plugs in the following projects:
77
- [tree-sitter-rescript](https://github.com/rescript-lang/tree-sitter-rescript) parser
88
- [@rescript/language-server](https://github.com/rescript-lang/rescript-vscode) LSP
99

10+
## Associate res files with ReScript
11+
12+
Open Settings with Cmd+, and add:
13+
14+
```json
15+
"file_types": {
16+
"ReScript": ["res"]
17+
}
18+
```
19+
1020
## Developing
1121

1222
Zed and it's support for extensions is being actively developed. The current workflow that can be used to build this extension locally and install it into Zed is:

0 commit comments

Comments
 (0)