aboutsummaryrefslogtreecommitdiff
path: root/test/functional/lua/treesitter_spec.lua
diff options
context:
space:
mode:
authorMatthieu Coudron <mattator@gmail.com>2020-06-06 15:37:51 +0200
committerGitHub <noreply@github.com>2020-06-06 15:37:51 +0200
commitdbc8ec94464049311e69274cad562585d7bb6749 (patch)
tree3f0580a30098f12aa0eb2749f588b503156a8ac6 /test/functional/lua/treesitter_spec.lua
parent39f802bef4fa211349bc1489770645608466a378 (diff)
parent6b949211a06e21af67bf4cb3a20c6f87c932ef2a (diff)
downloadrneovim-dbc8ec94464049311e69274cad562585d7bb6749.tar.gz
rneovim-dbc8ec94464049311e69274cad562585d7bb6749.tar.bz2
rneovim-dbc8ec94464049311e69274cad562585d7bb6749.zip
Merge pull request #12321 from vigoux/treesitter-runtime
treesitter: update runtime
Diffstat (limited to 'test/functional/lua/treesitter_spec.lua')
-rw-r--r--test/functional/lua/treesitter_spec.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/functional/lua/treesitter_spec.lua b/test/functional/lua/treesitter_spec.lua
index f93185d1f6..ecee471386 100644
--- a/test/functional/lua/treesitter_spec.lua
+++ b/test/functional/lua/treesitter_spec.lua
@@ -240,17 +240,17 @@ static int nlua_schedule(lua_State *const lstate)
; TODO(bfredl): overlapping matches are unreliable,
; we need a proper priority mechanism
;(type_identifier) @type
-((type_identifier) @Special (eq? @Special "LuaRef"))
+((type_identifier) @Special (#eq? @Special "LuaRef"))
(primitive_type) @type
(sized_type_specifier) @type
; defaults to very magic syntax, for best compatibility
-((identifier) @Identifier (match? @Identifier "^l(u)a_"))
+((identifier) @Identifier (#match? @Identifier "^l(u)a_"))
; still support \M etc prefixes
-((identifier) @Constant (match? @Constant "\M^\[A-Z_]\+$"))
+((identifier) @Constant (#match? @Constant "\M^\[A-Z_]\+$"))
-((binary_expression left: (identifier) @WarningMsg.left right: (identifier) @WarningMsg.right) (eq? @WarningMsg.left @WarningMsg.right))
+((binary_expression left: (identifier) @WarningMsg.left right: (identifier) @WarningMsg.right) (#eq? @WarningMsg.left @WarningMsg.right))
(comment) @comment
]]