From a7024c093b399c97cf2ad3573989265fac97add5 Mon Sep 17 00:00:00 2001 From: Steven Allen Date: Mon, 26 Jan 2026 16:46:27 -0800 Subject: [PATCH] tree-sitter-grammers.tree-sitter-phpdoc: init tree-sitter-php can use it internally to render PHP doc comments. See https://github.com/tree-sitter/tree-sitter-php/issues/50. --- .../parsing/tree-sitter/grammars/grammar-sources.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/pkgs/development/tools/parsing/tree-sitter/grammars/grammar-sources.nix b/pkgs/development/tools/parsing/tree-sitter/grammars/grammar-sources.nix index 66b929b8df57..7fd465973935 100644 --- a/pkgs/development/tools/parsing/tree-sitter/grammars/grammar-sources.nix +++ b/pkgs/development/tools/parsing/tree-sitter/grammars/grammar-sources.nix @@ -727,6 +727,18 @@ }; }; + phpdoc = { + version = "0.1.8"; + url = "github:claytonrcarter/tree-sitter-phpdoc"; + hash = "sha256-X+ElKI0ZMLCmxEanKsDRL/1KzGZfBrG7zITsT+jSrtQ="; + meta = { + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ + Stebalien + ]; + }; + }; + pioasm = { version = "0-unstable-2024-10-12"; url = "github:leo60228/tree-sitter-pioasm/afece58efdb30440bddd151ef1347fa8d6f744a9";