mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -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" @include
|
||||
":" @punctation.delimiter
|
||||
":" @punctuation.delimiter
|
||||
(source_file) @uri
|
||||
)
|
||||
|
||||
|
|
@ -67,7 +67,7 @@
|
|||
(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
|
||||
// ^punctation.delimiter
|
||||
// ^punctuation.delimiter
|
||||
// ^uri
|
||||
|
||||
namespace ns = Neos.Fusion.Space
|
||||
|
|
@ -11,9 +11,9 @@ namespace ns = Neos.Fusion.Space
|
|||
|
||||
prototype(MyType) < prototype(ns:SuperType) {
|
||||
//<-keyword
|
||||
// ^punctation.bracket
|
||||
// ^punctuation.bracket
|
||||
// ^type
|
||||
// ^punctation.bracket
|
||||
// ^punctuation.bracket
|
||||
// ^operator
|
||||
// ^namespace
|
||||
// ^type
|
||||
|
|
|
|||
|
|
@ -24,18 +24,18 @@ propertyPath = ${property.path}
|
|||
// ^variable
|
||||
|
||||
array = ${[]}
|
||||
// ^punctation.bracket
|
||||
// ^punctuation.bracket
|
||||
|
||||
array = ${[true, 'string', 1, [true]]}
|
||||
// ^punctation.bracket
|
||||
// ^punctuation.bracket
|
||||
// ^boolean
|
||||
// ^string
|
||||
// ^number
|
||||
// ^punctation.bracket
|
||||
// ^punctuation.bracket
|
||||
// ^boolean
|
||||
|
||||
object = ${{}}
|
||||
// ^punctation.bracket
|
||||
// ^punctuation.bracket
|
||||
|
||||
object = ${{first: 'value', second: true, third: [], fourth: object.path }}
|
||||
// ^property
|
||||
|
|
@ -43,7 +43,7 @@ object = ${{first: 'value', second: true, third: [], fourth: object.path }}
|
|||
// ^property
|
||||
// ^boolean
|
||||
// ^property
|
||||
// ^punctation.bracket
|
||||
// ^punctuation.bracket
|
||||
// ^property
|
||||
// ^variable
|
||||
|
||||
|
|
@ -68,7 +68,7 @@ logic = ${!foo && !(bar || baz) and not 'string'}
|
|||
// ^operator
|
||||
|
||||
ternary = ${ check ? true : false}
|
||||
// ^punctation.delimiter
|
||||
// ^punctation.delimiter
|
||||
// ^punctuation.delimiter
|
||||
// ^punctuation.delimiter
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue