Answer: To automatically use the OpenTofu extension and language server when editing `.tf` and `.tfvars` files, either uninstall the Terraform extension or add the file_types mapping to your settings.json. Status: Overdue (check was due 2026-11-20T13:42:51Z and has not succeeded) Entry: tool/zed/settings/configure-opentofu-file-types Revision: 1 Digest: sha256:a3f183daf37eba35 (changes whenever the content changes) Timeline: Created: 2026-11-13T04:04:20Z Last changed: 2026-11-13T04:04:20Z Last verified: 2026-11-19T13:42:51Z Next check: 2026-11-20T13:42:51Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of OpenTofu file type | tf | [1] | 2026-11-19 OpenTofu Vars file type | tfvars | [1] | 2026-11-19 Alternative action | uninstall the Terraform extension | [1] | 2026-11-19 Sources: [1] Zed Industries. "zed.dev/docs/languages/opentofu.md". https://zed.dev/docs/languages/opentofu.md Role: primary. Accessed: 2026-11-19T13:42:51Z Quote: ""OpenTofu": ["tf"]" (Supports: OpenTofu file type) Quote: ""OpenTofu Vars": ["tfvars"]" (Supports: OpenTofu Vars file type) Quote: "either uninstall the Terraform extension or add this to your settings.json" (Supports: Alternative action) Snapshot SHA-256: b66d50ed1c6474ea8014435f2ec6d4a6d551b54b93217a0d7f74b7803cf4b881 (captured 2026-11-13T04:04:20Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T04:04:20Z, so the values verified then were kept. Cross-check: not-available at 2026-11-19T13:42:51Z. No independent second source is configured for this entry Last successful check: 2026-11-19T13:42:51Z Last attempt: 2026-11-19T13:42:51Z Notes and limitations: Extracted automatically from a single official source (section "Configuration"). Human-readable page: https://zed.dev/docs/languages/opentofu.html Related: https://latestn.com/tool/zed/settings/configure-prediction-debounce How do I adjust the prediction debounce in Zed? https://latestn.com/tool/zed/settings/configure-python-language-server How do I configure a Python language server in Zed? https://latestn.com/tool/zed/settings/configure-r-linting How do I configure linting for R in Zed? https://latestn.com/tool/zed/settings/configure-jsonnet-language-server-settings How do I configure the Jsonnet language server settings in Zed? https://latestn.com/tool/zed/settings/configure-light-dark-icon-themes How do I configure different icon themes for light and dark mode in Zed? https://latestn.com/tool/zed/settings/configure-luals-luarc-json How do I configure LuaLS settings in Zed using a .luarc.json file? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T04:04:20Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/zed/settings/configure-opentofu-file-types/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/zed/settings/configure-opentofu-file-types POST: https://latestn.com/dispute/tool/zed/settings/configure-opentofu-file-types with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/zed/settings/configure-opentofu-file-types?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I make Zed use the OpenTofu extension and language server for .tf and .tfvars files? Revision 1, last verified 2026-11-19T13:42:51Z. https://latestn.com/tool/zed/settings/configure-opentofu-file-types (accessed 2026-11-21T10:03:55Z). @misc{LatestN_tool_zed_settings_configure_opentofu_file_types_r1, title = {How do I make Zed use the OpenTofu extension and language server for .tf and .tfvars files?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/zed/settings/configure-opentofu-file-types}}, note = {Revision 1; digest sha256:a3f183daf37eba35; last verified 2026-11-19T13:42:51Z; accessed 2026-11-21T10:03:55Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/zed/settings/configure-opentofu-file-types