{"id":41460698,"url":"https://github.com/wkirschbaum/elixir-ts-mode","last_synced_at":"2026-01-23T15:50:47.143Z","repository":{"id":65814178,"uuid":"549857960","full_name":"wkirschbaum/elixir-ts-mode","owner":"wkirschbaum","description":"Elixir mode using Treesitter for fontification, navigation and indentation","archived":false,"fork":false,"pushed_at":"2025-04-22T06:45:44.000Z","size":541,"stargazers_count":66,"open_issues_count":4,"forks_count":11,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-22T07:47:42.714Z","etag":null,"topics":["elixir","emacs","tree-sitter"],"latest_commit_sha":null,"homepage":"","language":"Emacs Lisp","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wkirschbaum.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,"zenodo":null}},"created_at":"2022-10-11T21:08:44.000Z","updated_at":"2025-04-22T06:45:48.000Z","dependencies_parsed_at":"2023-09-12T21:01:10.953Z","dependency_job_id":"50eb7ede-1d57-49c9-b9e1-ec813eca6e0c","html_url":"https://github.com/wkirschbaum/elixir-ts-mode","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wkirschbaum/elixir-ts-mode","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wkirschbaum%2Felixir-ts-mode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wkirschbaum%2Felixir-ts-mode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wkirschbaum%2Felixir-ts-mode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wkirschbaum%2Felixir-ts-mode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wkirschbaum","download_url":"https://codeload.github.com/wkirschbaum/elixir-ts-mode/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wkirschbaum%2Felixir-ts-mode/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28694964,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T14:15:13.573Z","status":"ssl_error","status_checked_at":"2026-01-23T14:09:05.534Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["elixir","emacs","tree-sitter"],"created_at":"2026-01-23T15:50:47.072Z","updated_at":"2026-01-23T15:50:47.126Z","avatar_url":"https://github.com/wkirschbaum.png","language":"Emacs Lisp","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Elixir Major Mode using tree-sitter\n\n[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)\n[![MELPA](https://melpa.org/packages/elixir-ts-mode-badge.svg)](https://melpa.org/#/elixir-ts-mode)\n![CI](https://github.com/wkirschbaum/elixir-ts-mode/actions/workflows/ci.yml/badge.svg)\n\n\u003e [!NOTE]  \n\u003e This package was a backport from Emacs 30.1 for the use with Emacs 29.1 and won't receive any additional updates.\n\nFor an implementation without tree-sitter support please have a\nlook at: https://github.com/elixir-editors/emacs-elixir\n\nThis package is compatible with and was tested against the tree-sitter grammar\nfor Elixir found at https://github.com/elixir-lang/tree-sitter-elixir.\n\n## Installing\n\nEmacs 29.1 or above with tree-sitter support is required. \n\nTree-sitter starter guide: https://git.savannah.gnu.org/cgit/emacs.git/tree/admin/notes/tree-sitter/starter-guide?h=emacs-29\n\nYou can install the tree-sitter Elixir and HEEx grammars by running: `M-x elixir-ts-install-grammar`.\n\n### Using MELPA and use-package\n\n```elisp\n(use-package elixir-ts-mode\n    :ensure t)\n```\n\n### From source\n\n- Clone this repository\n- Add the following to your emacs config\n\nIt is also necessary to clone \n[heex-ts-mode](https://github.com/wkirschbaum/heex-ts-mode) and\nload the heex-ts-mode.el file before loading elixir-ts-mode.el:\n\n```elisp\n(load \"[cloned wkirschbaum/heex-ts-mode]/heex-ts-mode.el\")\n(load \"[cloned wkirschbaum/elixir-ts-mode]/elixir-ts-mode.el\")\n```\n\n### Installing emacs-29 on Mac OS or Linux via Homebrew\n\nThis uses [Emacs Plus](https://github.com/d12frosted/homebrew-emacs-plus). Note\nthat we grab its \"tap\" so Homebrew will know about its formula.\n\n```bash\nbrew install tree-sitter\nbrew tap d12frosted/emacs-plus\nbrew install emacs-plus@29\n```\n\n### Troubleshooting\n\nIf you get the following warning:\n\n```\n⛔ Warning (treesit): Cannot activate tree-sitter, because tree-sitter\nlibrary is not compiled with Emacs [2 times]\n```\n\nThen you do not have tree-sitter support for your emacs installation.\n\nIf you get the following warnings:\n```\n⛔ Warning (treesit): Cannot activate tree-sitter, because language grammar for heex is unavailable (not-found): (libtree-sitter-heex libtree-sitter-heex.so) No such file or directory\n⛔ Warning (treesit): Cannot activate tree-sitter, because language grammar for elixir is unavailable (not-found): (libtree-sitter-elixir libtree-sitter-elixir.so) No such file or directory\n```\n\nthen the grammar files are not properly installed on your system.\n\n## Development\n\nTo test you can run `make test` which will download a batch script\nfrom https://github.com/casouri/tree-sitter-module and compile\ntree-sitter-elixir as well as tree-sitter-heex. \n\nRequirements:\n\n- tree-sitter\n- make\n- gcc\n- git\n- curl\n\n\nPlease make sure you run `M-x byte-compile-file` against the updated\nfile(s) with an emacs version --with-tree-sitter=no to ensure it still\nworks for non tree-sitter users. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwkirschbaum%2Felixir-ts-mode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwkirschbaum%2Felixir-ts-mode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwkirschbaum%2Felixir-ts-mode/lists"}