Skip to content

Commit

Permalink
Contrib branch (#13)
Browse files Browse the repository at this point in the history
Allow use of `.` in rpc definitions
  • Loading branch information
jvsteiner authored and vihangm committed Jul 11, 2017
1 parent ba93345 commit f5867fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Protobuf.YAML-tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ repository:
end: \}
patterns:
- include: '#comments'
- begin: (rpc)\s+([A-Za-z][A-Z-a-z0-9_]+)\s*\((stream\s+)?([A-Za-z0-9_]+)\)\s+(returns)\s+\((stream\s+)?([A-Za-z0-9_]+)\)\{?
- begin: (rpc)\s+([A-Za-z][A-Z-a-z0-9_.]+)\s*\((stream\s+)?([A-Za-z0-9_]+)\)\s+(returns)\s+\((stream\s+)?([A-Za-z0-9_.]+)\)\{?
beginCaptures:
'1': {name: keyword.source.proto}
'2': {name: entity.name.function}
Expand Down
2 changes: 1 addition & 1 deletion Protobuf.tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@
</dict>
<dict>
<key>begin</key>
<string>(rpc)\s+([A-Za-z][A-Z-a-z0-9_]+)\s*\((stream\s+)?([A-Za-z0-9_]+)\)\s+(returns)\s+\((stream\s+)?([A-Za-z0-9_]+)\)\{?</string>
<string>(rpc)\s+([A-Za-z][A-Z-a-z0-9_.]+)\s*\((stream\s+)?([A-Za-z0-9_]+)\)\s+(returns)\s+\((stream\s+)?([A-Za-z0-9_.]+)\)\{?</string>
<key>beginCaptures</key>
<dict>
<key>1</key>
Expand Down

0 comments on commit f5867fa

Please sign in to comment.