fix(query): stricter match for extends directive (#5604)

This commit is contained in:
Azad 2023-11-02 11:02:41 +01:00 committed by GitHub
parent 051ce73fcd
commit 198015cca1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -31,4 +31,4 @@
(#lua-match? @include "^;+ *inherits *:"))
((program . (comment)* . (comment) @preproc)
(#lua-match? @preproc "^;+ *extends"))
(#lua-match? @preproc "^;+ *extends *$"))