Merge pull request #100504 from teto/treesitter_lua

Treesitter lua
This commit is contained in:
Profpatsch 2020-10-16 14:43:46 +02:00 committed by GitHub
commit bb8758a533
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 3 deletions

View file

@ -11,9 +11,9 @@ let
# 1) change all these hashes # 1) change all these hashes
# 2) nix-build -A tree-sitter.updater.update-all-grammars # 2) nix-build -A tree-sitter.updater.update-all-grammars
# 3) run the ./result script that is output by that (it updates ./grammars) # 3) run the ./result script that is output by that (it updates ./grammars)
version = "0.16.9"; version = "0.17.1";
sha256 = "sha256-e5Ft+jEpExLgBBFmiswW0VFrsKume4gmUiOiF4ODhhQ="; sha256 = "sha256-k61actAEyao/Ea8aw9PCm252U+1I0d43MAYC68/lui4=";
cargoSha256 = "sha256-XbPLQEvf4JX517ddpx18eweiPrztS5E/X2pejkqmlCU="; cargoSha256 = "sha256-Jp/Fl20ZZfaIdWinOOujNVH5JjJNtyUYHfyTrmeeoRg=";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "tree-sitter"; owner = "tree-sitter";

View file

@ -8,6 +8,7 @@
javascript = (builtins.fromJSON (builtins.readFile ./tree-sitter-javascript.json)); javascript = (builtins.fromJSON (builtins.readFile ./tree-sitter-javascript.json));
jsdoc = (builtins.fromJSON (builtins.readFile ./tree-sitter-jsdoc.json)); jsdoc = (builtins.fromJSON (builtins.readFile ./tree-sitter-jsdoc.json));
json = (builtins.fromJSON (builtins.readFile ./tree-sitter-json.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)); php = (builtins.fromJSON (builtins.readFile ./tree-sitter-php.json));
python = (builtins.fromJSON (builtins.readFile ./tree-sitter-python.json)); python = (builtins.fromJSON (builtins.readFile ./tree-sitter-python.json));
ruby = (builtins.fromJSON (builtins.readFile ./tree-sitter-ruby.json)); ruby = (builtins.fromJSON (builtins.readFile ./tree-sitter-ruby.json));

View file

@ -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
}