treesitter: fix tests

This commit is contained in:
Thomas Vigouroux
2020-06-03 19:58:02 +02:00
parent 662688817b
commit 6a93077475
2 changed files with 4 additions and 3 deletions

View File

@@ -250,7 +250,7 @@ static int nlua_schedule(lua_State *const lstate)
; still support \M etc prefixes
((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
]]