mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
feat(gleam,luau): use @keyword.type captures (#7181)
This commit is contained in:
parent
a1b791604b
commit
679883ad31
3 changed files with 8 additions and 8 deletions
|
|
@ -1,6 +1,6 @@
|
|||
pub type Cat {
|
||||
// <- @keyword.modifier
|
||||
// ^^^^ @keyword
|
||||
// ^^^^ @keyword.type
|
||||
// ^^^ @type
|
||||
// ^ @punctuation.bracket
|
||||
Cat(name: String, cuteness: Int)
|
||||
|
|
@ -38,7 +38,7 @@ fn cats() {
|
|||
}
|
||||
|
||||
type Box(inner_type) {
|
||||
// <- @keyword
|
||||
// <- @keyword.type
|
||||
// ^^^ @type
|
||||
// ^ @punctuation.bracket
|
||||
// ^^^^^^^^^^ @type
|
||||
|
|
@ -56,7 +56,7 @@ type Box(inner_type) {
|
|||
pub opaque type Counter {
|
||||
// <- @keyword.modifier
|
||||
// ^^^^^^ @keyword.modifier
|
||||
// ^^^^ @keyword
|
||||
// ^^^^ @keyword.type
|
||||
// ^^^^^^^ @type
|
||||
// ^ @punctuation.bracket
|
||||
Counter(value: Int)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue