mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 03:10:04 -04:00
feat: add poe_filter
This commit is contained in:
parent
ce6390393a
commit
de459332e2
7 changed files with 60 additions and 0 deletions
1
queries/poe_filter/folds.scm
Normal file
1
queries/poe_filter/folds.scm
Normal file
|
|
@ -0,0 +1 @@
|
|||
(block) @fold
|
||||
38
queries/poe_filter/highlights.scm
Normal file
38
queries/poe_filter/highlights.scm
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
["Show" "Hide" "Minimal"] @namespace
|
||||
|
||||
(condition (name) @conditional)
|
||||
(action (name) @keyword)
|
||||
(continue) @label
|
||||
|
||||
(operator) @operator
|
||||
|
||||
(string) @string @spell
|
||||
|
||||
(file) @string
|
||||
|
||||
[
|
||||
(quality)
|
||||
(rarity)
|
||||
(influence)
|
||||
(colour)
|
||||
(shape)
|
||||
] @constant.builtin
|
||||
|
||||
(sockets) @variable.builtin
|
||||
|
||||
(number) @number
|
||||
|
||||
(boolean) @boolean
|
||||
|
||||
[
|
||||
(disable)
|
||||
"Temp"
|
||||
] @constant
|
||||
|
||||
(comment) @comment @spell
|
||||
|
||||
"\"" @punctuation.delimiter
|
||||
|
||||
("\"" @conceal
|
||||
(#not-has-parent? @conceal string file)
|
||||
(#set! conceal ""))
|
||||
5
queries/poe_filter/indents.scm
Normal file
5
queries/poe_filter/indents.scm
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
(block) @indent
|
||||
|
||||
(ERROR) @auto
|
||||
|
||||
(comment) @ignore
|
||||
1
queries/poe_filter/injections.scm
Normal file
1
queries/poe_filter/injections.scm
Normal file
|
|
@ -0,0 +1 @@
|
|||
(comment) @comment
|
||||
Loading…
Add table
Add a link
Reference in a new issue