mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-20 04:10:06 -04:00
julia: update queries to parser change (#3956)
This commit is contained in:
parent
bfb875673e
commit
d31c71c959
4 changed files with 22 additions and 21 deletions
|
|
@ -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))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue