diff --git a/pkgs/development/tools/parsing/tree-sitter/grammars/default.nix b/pkgs/development/tools/parsing/tree-sitter/grammars/default.nix index 01108d1501aa..fa8ee6f49928 100644 --- a/pkgs/development/tools/parsing/tree-sitter/grammars/default.nix +++ b/pkgs/development/tools/parsing/tree-sitter/grammars/default.nix @@ -26,6 +26,7 @@ tree-sitter-lua = (builtins.fromJSON (builtins.readFile ./tree-sitter-lua.json)); tree-sitter-markdown = (builtins.fromJSON (builtins.readFile ./tree-sitter-markdown.json)); tree-sitter-nix = (builtins.fromJSON (builtins.readFile ./tree-sitter-nix.json)); + tree-sitter-norg = (builtins.fromJSON (builtins.readFile ./tree-sitter-norg.json)); tree-sitter-ocaml = (builtins.fromJSON (builtins.readFile ./tree-sitter-ocaml.json)); tree-sitter-php = (builtins.fromJSON (builtins.readFile ./tree-sitter-php.json)); tree-sitter-python = (builtins.fromJSON (builtins.readFile ./tree-sitter-python.json)); diff --git a/pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-norg.json b/pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-norg.json new file mode 100644 index 000000000000..f5a2194b25f9 --- /dev/null +++ b/pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-norg.json @@ -0,0 +1,10 @@ +{ + "url": "https://github.com/nvim-neorg/tree-sitter-norg.git", + "rev": "84949f0c05195907c416cb7d02cf1369b9458b5f", + "date": "2021-09-25T17:47:36+00:00", + "path": "/nix/store/wa653ml1ajl8923f4am505asxwvsxbzq-tree-sitter-norg", + "sha256": "07pzz9acg01r4yyws6savprjn3pccyylx6vq8q9lvrp76pnflks4", + "fetchSubmodules": false, + "deepClone": false, + "leaveDotGit": false +} diff --git a/pkgs/development/tools/parsing/tree-sitter/update.nix b/pkgs/development/tools/parsing/tree-sitter/update.nix index c6e819465a54..4f1e69a585fe 100644 --- a/pkgs/development/tools/parsing/tree-sitter/update.nix +++ b/pkgs/development/tools/parsing/tree-sitter/update.nix @@ -138,6 +138,10 @@ let orga = "rydesun"; repo = "tree-sitter-dot"; }; + "tree-sitter-norg" = { + orga = "nvim-neorg"; + repo = "tree-sitter-norg"; + }; }; allGrammars =