From 29e5f73fa8eb6cda0306df484fd54ceffcc7296d Mon Sep 17 00:00:00 2001 From: Matthieu Coudron Date: Wed, 14 Oct 2020 16:14:00 +0200 Subject: [PATCH] tree-sitter.grammars.lua: init --- .../tools/parsing/tree-sitter/grammars/default.nix | 1 + .../parsing/tree-sitter/grammars/tree-sitter-lua.json | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-lua.json diff --git a/pkgs/development/tools/parsing/tree-sitter/grammars/default.nix b/pkgs/development/tools/parsing/tree-sitter/grammars/default.nix index 5898997dd6ef..083dc61a96f8 100644 --- a/pkgs/development/tools/parsing/tree-sitter/grammars/default.nix +++ b/pkgs/development/tools/parsing/tree-sitter/grammars/default.nix @@ -8,6 +8,7 @@ javascript = (builtins.fromJSON (builtins.readFile ./tree-sitter-javascript.json)); jsdoc = (builtins.fromJSON (builtins.readFile ./tree-sitter-jsdoc.json)); json = (builtins.fromJSON (builtins.readFile ./tree-sitter-json.json)); + lua = (builtins.fromJSON (builtins.readFile ./tree-sitter-lua.json)); php = (builtins.fromJSON (builtins.readFile ./tree-sitter-php.json)); python = (builtins.fromJSON (builtins.readFile ./tree-sitter-python.json)); ruby = (builtins.fromJSON (builtins.readFile ./tree-sitter-ruby.json)); diff --git a/pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-lua.json b/pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-lua.json new file mode 100644 index 000000000000..267d25a52a0b --- /dev/null +++ b/pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-lua.json @@ -0,0 +1,10 @@ +{ + "url": "https://github.com/nvim-treesitter/tree-sitter-lua", + "rev": "278b0ea1f1f3d86afc86faaca0cbbf6c01182a54", + "date": "2020-09-08T18:29:23+02:00", + "path": "/nix/store/xkaqsw030bf6zd6pivrzrg3d50j1ka1k-tree-sitter-lua", + "sha256": "0i8jdp0bbl02h58hfhpild4v3rvy8yk5r5l90navvfxw4ad4f6f3", + "fetchSubmodules": false, + "deepClone": false, + "leaveDotGit": false +}