Skip to content

Commit

Permalink
Add some similar non-ASCII punctuation characters
Browse files Browse the repository at this point in the history
  • Loading branch information
SilverRainZ committed Jul 22, 2021
1 parent 5aee336 commit 1fdd3f6
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/tree_sitter_rst/chars.c
Original file line number Diff line number Diff line change
Expand Up @@ -122,12 +122,12 @@ bool is_start_char(int32_t c)
{
const int32_t valid_chars[] = {
'-',
':',
':', ':',
'/',
'\'',
'"',
'"', '“', '「',
'<',
'(',
'(', "(",
'[',
'{',
};
Expand All @@ -147,17 +147,17 @@ bool is_end_char(int32_t c)
{
const int32_t valid_chars[] = {
'-',
'.',
',',
':',
';',
'!',
'?',
'.', '。',
',', ',',
':', ':',
';', ';',
'!', '!',
'?', '?',
'\\',
'/',
'\'',
'"',
')',
'"', '”', '」',
')', ")",
']',
'}',
'>',
Expand Down

0 comments on commit 1fdd3f6

Please sign in to comment.