Julia queries: limit markdown highlighting to docstrings
commit5806db1e5cd52897bf0cda4421629eec207a621c
authorChristoph Horn <christoph-horn@hotmail.de>
dateWed 24 Aug 2022, 08:56 (4 years ago)
parentf5c00b9
runtime/queries/julia/injections.scm+14−1
@@ -1,5 +1,18 @@
11(
2− (string_literal) @injection.content
2+ (source_file
3+ (
4+ (string_literal) @injection.content
5+ [
6+ (module_definition)
7+ (function_definition)
8+ (macro_definition)
9+ (primitive_definition)
10+ (abstract_definition)
11+ (struct_definition)
12+ (assignment_expression)
13+ (const_statement)
14+ ]
15+ ))
316 (#set! injection.language "markdown"))
417
518(