{"id":20731953,"url":"https://github.com/nverno/query-ts-mode","last_synced_at":"2026-04-25T07:33:03.015Z","repository":{"id":199940880,"uuid":"704141591","full_name":"nverno/query-ts-mode","owner":"nverno","description":"Tree-sitter query major-mode","archived":false,"fork":false,"pushed_at":"2024-11-09T06:58:35.000Z","size":302,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-25T19:13:32.044Z","etag":null,"topics":["emacs","query","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/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":"2023-10-12T16:10:23.000Z","updated_at":"2024-11-09T06:58:39.000Z","dependencies_parsed_at":"2023-10-14T15:59:03.297Z","dependency_job_id":"b9fdc122-269c-4337-ade3-04b4a6095da6","html_url":"https://github.com/nverno/query-ts-mode","commit_stats":null,"previous_names":["nverno/query-ts-mode"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nverno/query-ts-mode","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nverno%2Fquery-ts-mode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nverno%2Fquery-ts-mode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nverno%2Fquery-ts-mode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nverno%2Fquery-ts-mode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nverno","download_url":"https://codeload.github.com/nverno/query-ts-mode/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nverno%2Fquery-ts-mode/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32254660,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-25T04:23:17.126Z","status":"ssl_error","status_checked_at":"2026-04-25T04:21:53.360Z","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":["emacs","query","tree-sitter"],"created_at":"2024-11-17T05:17:01.282Z","updated_at":"2026-04-25T07:33:02.981Z","avatar_url":"https://github.com/nverno.png","language":"Emacs Lisp","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tree-sitter query 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 tree-sitter queries (nvim) using the tree-sitter \ngrammar from [tree-sitter-query](https://github.com/nvim-treesitter/tree-sitter-query)\n\nFeatures:\n- indentation\n- font-locking\n- structural navigation with treesitter objects\n\nTo use the embedded regex parser to parse regexes in `match` predicates, install\n`regex-ts` from [tree-sitter-regex](https://github.com/tree-sitter/tree-sitter-regex)\n\n![example](doc/example-query.png)\n\n## Installing\n\nEmacs 29.1 or above with tree-sitter support is required. \n\n### Install tree-sitter parsers\n\nAdd the sources to `treesit-language-source-alist` and run \n`treesit-install-language-grammar`.\n\n```elisp\n(let ((treesit-language-source-alist\n       '((query \"https://github.com/nvim-treesitter/tree-sitter-query\")\n         (regex \"https://github.com/tree-sitter/tree-sitter-regex\"))))\n  (dolist (parser (mapcar #'car treesit-language-source-alist))\n    (treesit-install-language-grammar parser)))\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnverno%2Fquery-ts-mode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnverno%2Fquery-ts-mode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnverno%2Fquery-ts-mode/lists"}