{"id":20870276,"url":"https://github.com/uncenter/zed-tera","last_synced_at":"2025-11-19T07:30:20.509Z","repository":{"id":262364135,"uuid":"887005538","full_name":"uncenter/zed-tera","owner":"uncenter","description":"⛩️ Zed extension for the Tera templating language.","archived":false,"fork":false,"pushed_at":"2025-02-02T19:02:54.000Z","size":282,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-15T19:49:37.408Z","etag":null,"topics":["tera","zed","zed-extension"],"latest_commit_sha":null,"homepage":"","language":"Scheme","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/uncenter.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"ko_fi":"uncenter","liberapay":"uncenter"}},"created_at":"2024-11-12T02:09:59.000Z","updated_at":"2025-02-09T18:38:47.000Z","dependencies_parsed_at":"2024-11-12T03:25:30.626Z","dependency_job_id":"fc0b658d-9efb-4fb0-be1f-def033b9a08c","html_url":"https://github.com/uncenter/zed-tera","commit_stats":null,"previous_names":["uncenter/zed-tera"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uncenter%2Fzed-tera","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uncenter%2Fzed-tera/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uncenter%2Fzed-tera/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uncenter%2Fzed-tera/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uncenter","download_url":"https://codeload.github.com/uncenter/zed-tera/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239619570,"owners_count":19669447,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["tera","zed","zed-extension"],"created_at":"2024-11-18T06:17:58.592Z","updated_at":"2025-11-19T07:30:20.473Z","avatar_url":"https://github.com/uncenter.png","language":"Scheme","funding_links":["https://ko-fi.com/uncenter","https://liberapay.com/uncenter"],"categories":["Development","🌐 Languages"],"sub_categories":["Editor Support"],"readme":"# zed-tera\n\n[Zed](https://github.com/zed-industries/zed) extension for the [Tera](https://keats.github.io/tera/) templating language.\n\n\u003e [!TIP]\n\u003e For Visual Studio Code support, see [uncenter/vscode-tera](https://github.com/uncenter/vscode-tera). For Helix and Neovim support, see [uncenter/tree-sitter-tera](https://github.com/uncenter/tree-sitter-tera).\n\n![Screenshot of highlighted sample Tera code in Zed with the zed-tera extension installed](./assets/preview.png)\n\n_Zed with zed-tera. Screenshot taken with the [catppuccin/zed](https://github.com/catppuccin/zed) theme._\n\n## Usage\n\nOpen `zed: extensions` in the [command palette](https://zed.dev/docs/getting-started#command-palette), and search for the \"Tera\" extension.\n\n### Embedded/injected Language Support\n\nI suggest adding the following to either your user or project `settings.json` to automatically apply injected language highlighting for Tera files with different extensions. Zed unfortunately does not allow extensions like this one set the language for files with multiple extensions[^1], so this is the best workaround for now.\n\n```json\n{\n\t\"file_types\": {\n\t\t\"Tera (CSS)\": [\"*.css.tera\"],\n\t\t\"Tera (HTML)\": [\"*.html.tera\"],\n\t\t\"Tera (JSON)\": [\"*.json.tera\"],\n\t\t\"Tera (TOML)\": [\"*.toml.tera\"],\n\t\t\"Tera (YAML)\": [\"*.yaml.tera\"]\n\t}\n}\n```\n\n#### Default to HTML highlighting of content\n\nIf you want all `.tera` files to highlight surrounding content as HTML, you can add the following to your project or user config:\n\n```json\n{\n\t\"file_types\": {\n\t\t\"Tera (HTML)\": [\"tera\"]\n\t}\n}\n```\n\n#### Use a different file extension with Tera syntax highlighting\n\nIf you work in a project with multiple Tera templates with non-`.tera` file extensions (such as `.html`/`.css` templates using Tera syntax), you can add something like the following to the `.zed/settings.json` file in your project.\n\n```json\n{\n\t\"file_types\": {\n\t\t\"Tera (HTML)\": [\"html\"]\n\t}\n}\n```\n\n## License\n\n[MIT](LICENSE)\n\n[^1]: See [zed-industries/zed#10997](https://github.com/zed-industries/zed/issues/10997).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funcenter%2Fzed-tera","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funcenter%2Fzed-tera","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funcenter%2Fzed-tera/lists"}