{"id":15144219,"url":"https://github.com/nverno/snippet-ts-mode","last_synced_at":"2026-01-19T18:31:59.781Z","repository":{"id":235274940,"uuid":"790430143","full_name":"nverno/snippet-ts-mode","owner":"nverno","description":"Emacs major mode for Yasnippet snippets using tree-sitter","archived":false,"fork":false,"pushed_at":"2024-11-09T07:00:58.000Z","size":69,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-06T16:50:34.739Z","etag":null,"topics":["emacs","tree-sitter","yasnippet"],"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/nverno.png","metadata":{"files":{"readme":"README.md","changelog":null,"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}},"created_at":"2024-04-22T21:35:06.000Z","updated_at":"2025-03-27T06:51:45.000Z","dependencies_parsed_at":"2024-05-04T02:25:11.718Z","dependency_job_id":"db42962c-97e7-43d1-9c5b-c369e98dce14","html_url":"https://github.com/nverno/snippet-ts-mode","commit_stats":{"total_commits":12,"total_committers":1,"mean_commits":12.0,"dds":0.0,"last_synced_commit":"1f9a699eaed2cf6d096b5cb78b7d0a79e22a3154"},"previous_names":["nverno/snippet-ts-mode"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nverno/snippet-ts-mode","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nverno%2Fsnippet-ts-mode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nverno%2Fsnippet-ts-mode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nverno%2Fsnippet-ts-mode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nverno%2Fsnippet-ts-mode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nverno","download_url":"https://codeload.github.com/nverno/snippet-ts-mode/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nverno%2Fsnippet-ts-mode/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28580195,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T18:29:59.827Z","status":"ssl_error","status_checked_at":"2026-01-19T18:29:40.878Z","response_time":67,"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":["emacs","tree-sitter","yasnippet"],"created_at":"2024-09-26T10:22:51.705Z","updated_at":"2026-01-19T18:31:59.762Z","avatar_url":"https://github.com/nverno.png","language":"Emacs Lisp","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Snippet 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\nThis package provides a major-mode for yasnippet snippets using the tree-sitter\ngrammar from [tree-sitter-yasnippet](https://github.com/nverno/tree-sitter-yasnippet).\n\nFeatures:\n- font-locking\n- basic indentation inside elisp code regions\n- some interactive commands to move between fields and increment field indices.\n- completion-at-point: for elisp in code regions and for snippet headers\n- elisp xref in code regions\n\n**WIP**: Use elisp parser in elisp code regions.\n\n![example](doc/snippet.png)\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\n### Install tree-sitter parser for yasnippet\n\nAdd the source to `treesit-language-source-alist`. \n\n```elisp\n(add-to-list\n 'treesit-language-source-alist\n '(yasnippet \"https://github.com/nverno/tree-sitter-yasnippet\"))\n```\n\nOptionally, install grammar for `elisp`.\n\nThen run `M-x treesit-install-language-grammar` and select `yasnippet` to install.\n\n### Install snippet-ts-mode.el from source\n\n- Clone this repository\n- Add the following to your emacs config\n\n```elisp\n(require \"[cloned nverno/snippet-ts-mode]/snippet-ts-mode.el\")\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnverno%2Fsnippet-ts-mode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnverno%2Fsnippet-ts-mode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnverno%2Fsnippet-ts-mode/lists"}