diff options
author | Soispha <soispha@vhack.eu> | 2024-01-19 18:55:21 +0100 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2024-01-19 18:55:21 +0100 |
commit | 849cd60632c2da99a4035e614266b0aa86612f4f (patch) | |
tree | 55372bc6c1f6424d84c75085ca0a3b4d12b4dabb /sys/nixpkgs/pkgs/tree-sitter-yts/package.json | |
parent | feat(flake): Add `pkgs` subattribute (diff) | |
download | nixos-config-849cd60632c2da99a4035e614266b0aa86612f4f.tar.gz nixos-config-849cd60632c2da99a4035e614266b0aa86612f4f.zip |
feat(hm/conf/nvim/plgs/treesitter): Add custom parser for `yts`
Diffstat (limited to 'sys/nixpkgs/pkgs/tree-sitter-yts/package.json')
-rw-r--r-- | sys/nixpkgs/pkgs/tree-sitter-yts/package.json | 31 |
1 files changed, 31 insertions, 0 deletions
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)$" + } + ] +} |