opentofu.md

 1# OpenTofu
 2
 3OpenTofu support is available through the [OpenTofu extension](https://github.com/ashpool37/zed-extension-opentofu).
 4
 5- Tree-sitter: [MichaHoffmann/tree-sitter-hcl](https://github.com/MichaHoffmann/tree-sitter-hcl)
 6- Language Server: [opentofu/tofu-ls](https://github.com/opentofu/tofu-ls)
 7
 8## Configuration
 9
10In order to automatically use the OpenTofu extension and language server when editing .tf and .tfvars files,
11either uninstall the Terraform extension or add this to your settings.json:
12
13```json
14"file_types": {
15  "OpenTofu": ["tf"],
16  "OpenTofu Vars": ["tfvars"]
17},
18```
19
20See the [full list of server settings here](https://github.com/opentofu/tofu-ls/blob/main/docs/SETTINGS.md).