mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-17 10:50:06 -04:00
fix: typo in highlight group punct(u)ation
This commit is contained in:
parent
49f0ef8e54
commit
a0ad73493e
3 changed files with 14 additions and 14 deletions
|
|
@ -25,7 +25,7 @@
|
||||||
)
|
)
|
||||||
(include_statement
|
(include_statement
|
||||||
"include" @include
|
"include" @include
|
||||||
":" @punctation.delimiter
|
":" @punctuation.delimiter
|
||||||
(source_file) @uri
|
(source_file) @uri
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
@ -67,7 +67,7 @@
|
||||||
(null) @constant.builtin
|
(null) @constant.builtin
|
||||||
|
|
||||||
|
|
||||||
; punctation
|
; punctuation
|
||||||
; ----------
|
; ----------
|
||||||
|
|
||||||
[
|
[
|
||||||
|
|
@ -77,11 +77,11 @@
|
||||||
"}"
|
"}"
|
||||||
"["
|
"["
|
||||||
"]"
|
"]"
|
||||||
] @punctation.bracket
|
] @punctuation.bracket
|
||||||
|
|
||||||
[
|
[
|
||||||
":"
|
":"
|
||||||
"."
|
"."
|
||||||
"?"
|
"?"
|
||||||
] @punctation.delimiter
|
] @punctuation.delimiter
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
include: SomeFile.fusion
|
include: SomeFile.fusion
|
||||||
//<- include
|
//<- include
|
||||||
// ^punctation.delimiter
|
// ^punctuation.delimiter
|
||||||
// ^uri
|
// ^uri
|
||||||
|
|
||||||
namespace ns = Neos.Fusion.Space
|
namespace ns = Neos.Fusion.Space
|
||||||
|
|
@ -11,9 +11,9 @@ namespace ns = Neos.Fusion.Space
|
||||||
|
|
||||||
prototype(MyType) < prototype(ns:SuperType) {
|
prototype(MyType) < prototype(ns:SuperType) {
|
||||||
//<-keyword
|
//<-keyword
|
||||||
// ^punctation.bracket
|
// ^punctuation.bracket
|
||||||
// ^type
|
// ^type
|
||||||
// ^punctation.bracket
|
// ^punctuation.bracket
|
||||||
// ^operator
|
// ^operator
|
||||||
// ^namespace
|
// ^namespace
|
||||||
// ^type
|
// ^type
|
||||||
|
|
|
||||||
|
|
@ -24,18 +24,18 @@ propertyPath = ${property.path}
|
||||||
// ^variable
|
// ^variable
|
||||||
|
|
||||||
array = ${[]}
|
array = ${[]}
|
||||||
// ^punctation.bracket
|
// ^punctuation.bracket
|
||||||
|
|
||||||
array = ${[true, 'string', 1, [true]]}
|
array = ${[true, 'string', 1, [true]]}
|
||||||
// ^punctation.bracket
|
// ^punctuation.bracket
|
||||||
// ^boolean
|
// ^boolean
|
||||||
// ^string
|
// ^string
|
||||||
// ^number
|
// ^number
|
||||||
// ^punctation.bracket
|
// ^punctuation.bracket
|
||||||
// ^boolean
|
// ^boolean
|
||||||
|
|
||||||
object = ${{}}
|
object = ${{}}
|
||||||
// ^punctation.bracket
|
// ^punctuation.bracket
|
||||||
|
|
||||||
object = ${{first: 'value', second: true, third: [], fourth: object.path }}
|
object = ${{first: 'value', second: true, third: [], fourth: object.path }}
|
||||||
// ^property
|
// ^property
|
||||||
|
|
@ -43,7 +43,7 @@ object = ${{first: 'value', second: true, third: [], fourth: object.path }}
|
||||||
// ^property
|
// ^property
|
||||||
// ^boolean
|
// ^boolean
|
||||||
// ^property
|
// ^property
|
||||||
// ^punctation.bracket
|
// ^punctuation.bracket
|
||||||
// ^property
|
// ^property
|
||||||
// ^variable
|
// ^variable
|
||||||
|
|
||||||
|
|
@ -68,7 +68,7 @@ logic = ${!foo && !(bar || baz) and not 'string'}
|
||||||
// ^operator
|
// ^operator
|
||||||
|
|
||||||
ternary = ${ check ? true : false}
|
ternary = ${ check ? true : false}
|
||||||
// ^punctation.delimiter
|
// ^punctuation.delimiter
|
||||||
// ^punctation.delimiter
|
// ^punctuation.delimiter
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue