Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions editors/code/syntaxes/v.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -613,7 +613,7 @@
},
{
"name": "keyword.$1.v",
"match": "(?<!@)\\b(fn|type|typeof|enum|struct|interface|map|assert|sizeof|__offsetof)\\b"
"match": "(?<!@)\\b(fn|type|typeof|enum|struct|implements|interface|map|assert|sizeof|__offsetof)\\b"
}
]
},
Expand Down Expand Up @@ -834,4 +834,4 @@
"name": "invalid.illegal.v"
}
}
}
}
1 change: 1 addition & 0 deletions tree_sitter_v/queries/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
"shared"
"static"
"struct"
"implements"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could this be added in alphabetical order? It is so much easier for humans to look for things in alpha order...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I sorted all keywords. spawn was also out of order.

"type"
"union"
"unsafe"
Expand Down