nvim-treesitter/tests/query/highlights/swift/string-interpolation.swift

7 lines
329 B
Swift

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