julia: update queries to parser change (#3956)

This commit is contained in:
Sergio A. Vargas 2022-12-14 03:06:08 -05:00 committed by GitHub
parent bfb875673e
commit d31c71c959
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 22 additions and 21 deletions

View file

@ -1,4 +1,13 @@
;; Inject markdown in docstrings
((string_literal) @markdown
. [
(module_definition)
(abstract_definition)
(struct_definition)
(function_definition)
(assignment)
(const_declaration)
]
(#match? @markdown "^\"\"\"")
(#offset! @markdown 0 3 0 -3))