-
Notifications
You must be signed in to change notification settings - Fork 171
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use selected encoding for computing semantic tokens
- Loading branch information
Showing
7 changed files
with
134 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
74 changes: 74 additions & 0 deletions
74
test/expectations/semantic_highlighting/multibyte_characters.exp.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
{ | ||
"result": [ | ||
{ | ||
"delta_line": 1, | ||
"delta_start_char": 7, | ||
"length": 3, | ||
"token_type": 0, | ||
"token_modifiers": 1 | ||
}, | ||
{ | ||
"delta_line": 0, | ||
"delta_start_char": 0, | ||
"length": 3, | ||
"token_type": 0, | ||
"token_modifiers": 0 | ||
}, | ||
{ | ||
"delta_line": 1, | ||
"delta_start_char": 8, | ||
"length": 3, | ||
"token_type": 2, | ||
"token_modifiers": 1 | ||
}, | ||
{ | ||
"delta_line": 0, | ||
"delta_start_char": 0, | ||
"length": 3, | ||
"token_type": 0, | ||
"token_modifiers": 0 | ||
}, | ||
{ | ||
"delta_line": 1, | ||
"delta_start_char": 8, | ||
"length": 1, | ||
"token_type": 13, | ||
"token_modifiers": 1 | ||
}, | ||
{ | ||
"delta_line": 1, | ||
"delta_start_char": 6, | ||
"length": 2, | ||
"token_type": 8, | ||
"token_modifiers": 0 | ||
}, | ||
{ | ||
"delta_line": 1, | ||
"delta_start_char": 6, | ||
"length": 2, | ||
"token_type": 8, | ||
"token_modifiers": 0 | ||
}, | ||
{ | ||
"delta_line": 0, | ||
"delta_start_char": 5, | ||
"length": 2, | ||
"token_type": 8, | ||
"token_modifiers": 0 | ||
}, | ||
{ | ||
"delta_line": 0, | ||
"delta_start_char": 3, | ||
"length": 6, | ||
"token_type": 13, | ||
"token_modifiers": 0 | ||
}, | ||
{ | ||
"delta_line": 1, | ||
"delta_start_char": 11, | ||
"length": 2, | ||
"token_type": 8, | ||
"token_modifiers": 0 | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# 測試註解 | ||
module A動物 | ||
class C貓咪 | ||
def 叫 | ||
叫聲 = "喵" | ||
👋 = 叫聲.squish | ||
puts 👋 | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters