update languages.toml: tree-sitter-lua grammar (#9727)

* update languages.toml: tree-sitter-lua grammar

repo has moved, use new URL and the rev of the latest release (v0.0.19)

* update highlight queries

a novice attempt to port query updates from the
source repo to Helix captures and ordering

* Apply suggestions from code review

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>

---------

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
This commit is contained in:
Brian Dorsey 2024-02-28 11:55:17 -08:00 committed by GitHub
parent 083a9e775d
commit f03b91d1b7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 69 additions and 14 deletions

View file

@ -1129,7 +1129,7 @@ language-servers = [ "lua-language-server" ]
[[grammar]]
name = "lua"
source = { git = "https://github.com/MunifTanjim/tree-sitter-lua", rev = "887dfd4e83c469300c279314ff1619b1d0b85b91" }
source = { git = "https://github.com/tree-sitter-grammars/tree-sitter-lua", rev = "88e446476a1e97a8724dff7a23e2d709855077f2" }
[[language]]
name = "svelte"