feat: add thrift hightlight (#11367)

This commit is contained in:
麦芽糖 2024-08-09 23:26:58 +08:00 committed by GitHub
parent 68f495b023
commit aaaafb8f5f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 290 additions and 0 deletions

View file

@ -3762,3 +3762,16 @@ grammar = "typescript"
"{" = "}"
"(" = ")"
'"' = '"'
[[language]]
name = "thrift"
scope = "source.thrift"
file-types = ["thrift"]
comment-token = "//"
block-comment-tokens = { start = "/*", end = "*/" }
indent = { tab-width = 2, unit = " " }
[[grammar]]
name = "thrift"
source = { git = "https://github.com/tree-sitter-grammars/tree-sitter-thrift" , rev = "68fd0d80943a828d9e6f49c58a74be1e9ca142cf" }