aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2022-11-01 13:38:47 +0100
committerGitHub <noreply@github.com>2022-11-01 13:38:47 +0100
commit582c044dbe2b2bc4c74212b5ed8660c20fa1fd99 (patch)
treea56e2e7a3b2236bd894634b66104c50c6912eddc
parentc46d46e9f11a9960fcf9c498ecc72be4c416cfa5 (diff)
downloadrneovim-582c044dbe2b2bc4c74212b5ed8660c20fa1fd99.tar.gz
rneovim-582c044dbe2b2bc4c74212b5ed8660c20fa1fd99.tar.bz2
rneovim-582c044dbe2b2bc4c74212b5ed8660c20fa1fd99.zip
build(deps): bump lua parser to v0.0.14 (#20897)
-rw-r--r--cmake.deps/CMakeLists.txt4
-rw-r--r--runtime/queries/lua/highlights.scm5
2 files changed, 7 insertions, 2 deletions
diff --git a/cmake.deps/CMakeLists.txt b/cmake.deps/CMakeLists.txt
index 68ac102864..62c38e2a2f 100644
--- a/cmake.deps/CMakeLists.txt
+++ b/cmake.deps/CMakeLists.txt
@@ -197,8 +197,8 @@ set(LIBICONV_SHA256 ccf536620a45458d26ba83887a983b96827001e92a13847b45e4925cc891
set(TREESITTER_C_URL https://github.com/tree-sitter/tree-sitter-c/archive/v0.20.2.tar.gz)
set(TREESITTER_C_SHA256 af66fde03feb0df4faf03750102a0d265b007e5d957057b6b293c13116a70af2 )
-set(TREESITTER_LUA_URL https://github.com/MunifTanjim/tree-sitter-lua/archive/v0.0.13.tar.gz)
-set(TREESITTER_LUA_SHA256 564594fe0ffd2f2fb3578a15019b723e1bc94ac82cb6a0103a6b3b9ddcc6f315)
+set(TREESITTER_LUA_URL https://github.com/MunifTanjim/tree-sitter-lua/archive/v0.0.14.tar.gz)
+set(TREESITTER_LUA_SHA256 930d0370dc15b66389869355c8e14305b9ba7aafd36edbfdb468c8023395016d)
set(TREESITTER_VIM_URL https://github.com/vigoux/tree-sitter-viml/archive/v0.2.0.tar.gz)
set(TREESITTER_VIM_SHA256 608dcc31a7948cb66ae7f45494620e2e9face1af75598205541f80d782ec4501)
diff --git a/runtime/queries/lua/highlights.scm b/runtime/queries/lua/highlights.scm
index 054d787932..2c0dc5447a 100644
--- a/runtime/queries/lua/highlights.scm
+++ b/runtime/queries/lua/highlights.scm
@@ -131,6 +131,11 @@
((identifier) @variable.builtin
(#eq? @variable.builtin "self"))
+(variable_list
+ attribute: (attribute
+ (["<" ">"] @punctuation.bracket
+ (identifier) @attribute)))
+
;; Constants
((identifier) @constant