Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Commit

Permalink
Add static using and correct namespace name fixes #61 and #47
Browse files Browse the repository at this point in the history
  • Loading branch information
Damien Guard committed Sep 15, 2016
1 parent c97c4bf commit e78aa06
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions grammars/c#.cson
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,15 @@
'foldingStopMarker': '^\\s*#\\s*endregion|^\\s*\\*/|^\\s*\\}'
'patterns': [
{
'captures':
'begin': '^\\s*(using)\\b\\s+(static)?\\b\\s*([\\w.]+)'
'beginCaptures':
'1':
'name': 'keyword.other.using.cs'
'begin': '^\\s*(using)\\b\\s*'
'2':
'name': 'keyword.other.using.cs'
'3':
'name': 'entity.name.type.namespace.cs'
'end': '\\s*(?:$|(;))'
'name': 'meta.keyword.using.cs'
}
{
'begin': '^\\s*((namespace)\\s+([\\w.]+))'
Expand Down

0 comments on commit e78aa06

Please sign in to comment.