highlights(swift): highlight punctuation

"?" is still missing:
https://github.com/tree-sitter/tree-sitter-swift/issues/38
This commit is contained in:
Stephan Seitz 2022-01-16 14:59:22 +01:00
parent b42de97339
commit a3c86fe843
2 changed files with 10 additions and 0 deletions

View file

@ -0,0 +1,7 @@
var one = 1
var two = 2
var name = "Let's do some math: \(one) + \(one) = \(one + one) = \(two)"
// ^ punctuation.bracket
// ^ variable
// ^ punctuation.bracket
// ^ punctuation.bracket