From 849cd60632c2da99a4035e614266b0aa86612f4f Mon Sep 17 00:00:00 2001 From: Soispha Date: Fri, 19 Jan 2024 18:55:21 +0100 Subject: feat(hm/conf/nvim/plgs/treesitter): Add custom parser for `yts` --- sys/nixpkgs/pkgs/tree-sitter-yts/package.json | 31 +++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 sys/nixpkgs/pkgs/tree-sitter-yts/package.json (limited to 'sys/nixpkgs/pkgs/tree-sitter-yts/package.json') diff --git a/sys/nixpkgs/pkgs/tree-sitter-yts/package.json b/sys/nixpkgs/pkgs/tree-sitter-yts/package.json new file mode 100644 index 00000000..2511ccb7 --- /dev/null +++ b/sys/nixpkgs/pkgs/tree-sitter-yts/package.json @@ -0,0 +1,31 @@ +{ + "name": "tree-sitter-yts", + "version": "0.0.1", + "description": "yts grammar for tree-sitter", + "main": "bindings/node", + "keywords": [ + "parsing", + "incremental" + ], + "dependencies": { + "nan": "^2.12.1" + }, + "devDependencies": { + "tree-sitter-cli": "^0.20.8" + }, + "scripts": { + "test": "tree-sitter test" + }, + "tree-sitter": [ + { + "scope": "source.yts", + "file-types": [ + "yts" + ], + "highlights": [ + "queries/highlights.scm" + ], + "injection-regex": "^(yts)$" + } + ] +} -- cgit 1.4.1