{"id":20731973,"url":"https://github.com/nverno/awk-ts-mode","last_synced_at":"2025-04-23T22:06:35.287Z","repository":{"id":197320362,"uuid":"697558884","full_name":"nverno/awk-ts-mode","owner":"nverno","description":"Awk major-mode using tree-sitter","archived":false,"fork":false,"pushed_at":"2024-05-17T12:52:02.000Z","size":136,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-23T22:06:27.874Z","etag":null,"topics":["awk","emacs","gawk","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-09-28T01:46:31.000Z","updated_at":"2024-11-22T23:22:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"2af8d8a3-6c1f-4cef-8fb3-fff06abe6710","html_url":"https://github.com/nverno/awk-ts-mode","commit_stats":null,"previous_names":["nverno/awk-ts-mode"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nverno%2Fawk-ts-mode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nverno%2Fawk-ts-mode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nverno%2Fawk-ts-mode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nverno%2Fawk-ts-mode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nverno","download_url":"https://codeload.github.com/nverno/awk-ts-mode/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250522298,"owners_count":21444511,"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":["awk","emacs","gawk","tree-sitter"],"created_at":"2024-11-17T05:17:04.519Z","updated_at":"2025-04-23T22:06:35.259Z","avatar_url":"https://github.com/nverno.png","language":"Emacs Lisp","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Awk 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 is compatible with and was tested against the tree-sitter grammar\nfor Awk found at https://github.com/Beaglefoot/tree-sitter-awk.\n\nIt provides indentation, font-locking, imenu, and navigation support for Awk buffers.\n\n![example](doc/example.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 Awk\n\nAdd the source to `treesit-language-source-alist`. \n\n```elisp\n(add-to-list\n 'treesit-language-source-alist\n '(awk \"https://github.com/Beaglefoot/tree-sitter-awk\"))\n```\n\nThen run `M-x treesit-install-language-grammar` and select `awk` to install.\n\n### Install awk-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/awk-ts-mode]/awk-ts-mode.el\")\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 awk is unavailable (not-found): (libtree-sitter-awk libtree-sitter-awk.so) No such file or directory\n```\n\nthen the awk grammar files are not properly installed on your system.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnverno%2Fawk-ts-mode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnverno%2Fawk-ts-mode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnverno%2Fawk-ts-mode/lists"}