diff --git a/pkgs/applications/editors/vim/plugins/nvim-treesitter/generated.nix b/pkgs/applications/editors/vim/plugins/nvim-treesitter/generated.nix index 58692ae3bd97..ebebb3f89ea6 100644 --- a/pkgs/applications/editors/vim/plugins/nvim-treesitter/generated.nix +++ b/pkgs/applications/editors/vim/plugins/nvim-treesitter/generated.nix @@ -191,6 +191,17 @@ }; meta.homepage = "https://github.com/ambroisie/tree-sitter-bp"; }; + bqn = buildGrammar { + language = "bpn"; + version = "0.0.0+rev=8c62b74"; + src = fetchFromGitHub { + owner = "shnarazk"; + repo = "tree-sitter-bqn"; + rev = "8c62b746924398304c8fa1aa18393c3124d1e50d"; + hash = "sha256-jK0zn7DWzy2yfYOX1ZBoGOC7QBrcp4PHWnaOKaDL9ws="; + }; + meta.homepage = "https://github.com/shnarazk/tree-sitter-bqn"; + }; c = buildGrammar { language = "c"; version = "0.0.0+rev=deca017"; diff --git a/pkgs/development/tools/parsing/tree-sitter/grammars/default.nix b/pkgs/development/tools/parsing/tree-sitter/grammars/default.nix index 97e825bfe390..c9faf8a788f8 100644 --- a/pkgs/development/tools/parsing/tree-sitter/grammars/default.nix +++ b/pkgs/development/tools/parsing/tree-sitter/grammars/default.nix @@ -4,6 +4,7 @@ tree-sitter-beancount = lib.importJSON ./tree-sitter-beancount.json; tree-sitter-bibtex = lib.importJSON ./tree-sitter-bibtex.json; tree-sitter-bitbake = lib.importJSON ./tree-sitter-bitbake.json; + tree-sitter-bqn = lib.importJSON ./tree-sitter-bqn.json; tree-sitter-c = lib.importJSON ./tree-sitter-c.json; tree-sitter-c-sharp = lib.importJSON ./tree-sitter-c-sharp.json; tree-sitter-clojure = lib.importJSON ./tree-sitter-clojure.json; diff --git a/pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-bqn.json b/pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-bqn.json new file mode 100644 index 000000000000..c909530a21a6 --- /dev/null +++ b/pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-bqn.json @@ -0,0 +1,12 @@ +{ + "url": "https://github.com/shnarazk/tree-sitter-bqn", + "rev": "a90b371503f158699042423918e4c5e9285f5519", + "date": "2023-10-12T14:03:08+09:00", + "path": "/nix/store/l8jagwjzgm9kwgda2rqgkzxpszlmf6br-tree-sitter-bqn", + "sha256": "0xma9dmz591xfy20g7sk535d5w21migs9zajjw2nd1c5czj00nzw", + "hash": "sha256-/FsA5GeFhWYFl1L9pF+sQfDSyihTnweEdz2k8mtLqnY=", + "fetchLFS": false, + "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 9b7558b53c7b..4c2f2c10aee5 100644 --- a/pkgs/development/tools/parsing/tree-sitter/update.nix +++ b/pkgs/development/tools/parsing/tree-sitter/update.nix @@ -102,6 +102,10 @@ let orga = "polarmutex"; repo = "tree-sitter-beancount"; }; + "tree-sitter-bqn" = { + orga = "shnarazk"; + repo = "tree-sitter-bqn"; + }; "tree-sitter-clojure" = { orga = "sogaiu"; repo = "tree-sitter-clojure";