mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-15 09:50:04 -04:00
fix(julia): add missing capture of ":" in selected import
If writing a selected import, e.g. `using BSON: @load`, the colon isn't currently captured. This change captures it as `@punctuation.delimiter`.
This commit is contained in:
parent
e49f1e8ef3
commit
65ef62092e
1 changed files with 2 additions and 0 deletions
|
|
@ -398,6 +398,8 @@
|
||||||
"as" @include)
|
"as" @include)
|
||||||
(export_statement
|
(export_statement
|
||||||
"export" @include)
|
"export" @include)
|
||||||
|
(selected_import
|
||||||
|
":" @punctuation.delimiter)
|
||||||
|
|
||||||
(struct_definition
|
(struct_definition
|
||||||
["struct" "end"] @keyword)
|
["struct" "end"] @keyword)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue