mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-16 02:10:15 -04:00
feat(poe_filter): add new Import statement
This commit is contained in:
parent
1b5bbb54b3
commit
7958ff9ec7
2 changed files with 5 additions and 2 deletions
|
|
@ -459,7 +459,7 @@
|
||||||
"revision": "39da859947b94abdee43e431368e1ae975c0a424"
|
"revision": "39da859947b94abdee43e431368e1ae975c0a424"
|
||||||
},
|
},
|
||||||
"poe_filter": {
|
"poe_filter": {
|
||||||
"revision": "374f618de179498c2a821136bb86c3edbe221e10"
|
"revision": "fa83292e04d27976ab5c354e0c980f2c67628a02"
|
||||||
},
|
},
|
||||||
"pony": {
|
"pony": {
|
||||||
"revision": "16f930b250433cfcd4fb4144df92bb98ad344c20"
|
"revision": "16f930b250433cfcd4fb4144df92bb98ad344c20"
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,7 @@
|
||||||
["Show" "Hide" "Minimal"] @namespace
|
["Show" "Hide" "Minimal"] @namespace
|
||||||
|
|
||||||
|
["Import" "Optional"] @include
|
||||||
|
|
||||||
(condition (name) @conditional)
|
(condition (name) @conditional)
|
||||||
(action (name) @keyword)
|
(action (name) @keyword)
|
||||||
(continue) @label
|
(continue) @label
|
||||||
|
|
@ -8,7 +10,7 @@
|
||||||
|
|
||||||
(string) @string
|
(string) @string
|
||||||
|
|
||||||
(file) @string
|
(file) @string.special
|
||||||
|
|
||||||
[
|
[
|
||||||
(quality)
|
(quality)
|
||||||
|
|
@ -33,6 +35,7 @@
|
||||||
|
|
||||||
"\"" @punctuation.delimiter
|
"\"" @punctuation.delimiter
|
||||||
|
|
||||||
|
; conceal unnecessary quotes
|
||||||
("\"" @conceal
|
("\"" @conceal
|
||||||
(#not-has-parent? @conceal string file)
|
(#not-has-parent? @conceal string file)
|
||||||
(#set! conceal ""))
|
(#set! conceal ""))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue