Skip to content

Commit

Permalink
Merge pull request #18 from rahulghangas/master
Browse files Browse the repository at this point in the history
Adding 'lifetime' and missing types
[contributed by @rahulghangas, reviewed by Lydia]

Adds bytes, nothing, ref, void and var, too.

Verified using lightshow and a few example files
  • Loading branch information
lydia-duncan authored Mar 4, 2020
2 parents 4d408df + 7337ec9 commit 822363c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Syntaxes/Chapel.tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,19 @@
</dict>
<dict>
<key>match</key>
<string>\b(align|as|atomic|begin|borrowed|break|by|catch|class|cobegin|coforall|continue|delete|dmapped|do|else|enum|except|export|extern|for|forall|if|index|inline|in|inout|iter|label|lambda|let|local|module|new|noinit|on|only|otherwise|out|override|owned|pragma|private|proc|prototype|public|record|reduce|ref|require|return|scan|select|serial|shared|sync|then|throw|throws|try|union|unmanaged|use|var|when|where|while|with|yield|zip)\b</string>
<string>\b(align|as|atomic|begin|borrowed|break|by|catch|class|cobegin|coforall|continue|delete|dmapped|do|else|enum|except|export|extern|for|forall|if|index|inline|in|inout|iter|label|lambda|let|lifetime|local|module|new|noinit|on|only|otherwise|out|override|owned|pragma|private|proc|prototype|public|record|reduce|require|return|scan|select|serial|shared|sync|then|throw|throws|try|union|unmanaged|use|when|where|while|with|yield|zip)\b</string>
<key>name</key>
<string>keyword.control.chapel</string>
</dict>
<dict>
<key>match</key>
<string>\b(bool|complex|dmap|domain|imag|int|opaque|range|real|string|subdomain|tuple|uint)\b</string>
<string>\b(bool|bytes|complex|dmap|domain|imag|int|nothing|opaque|range|real|string|subdomain|tuple|uint|void)\b</string>
<key>name</key>
<string>storage.type.chapel</string>
</dict>
<dict>
<key>match</key>
<string>\b(borrowed|config|const|enum|owned|param|private|public|single|shared|sparse|sync|type|unmanaged)\b</string>
<string>\b(borrowed|config|const|enum|owned|param|private|public|ref|single|shared|sparse|sync|type|unmanaged|var)\b</string>
<key>name</key>
<string>storage.modifier.chapel</string>
</dict>
Expand Down Expand Up @@ -378,7 +378,7 @@
<key>illegal_names</key>
<dict>
<key>match</key>
<string>\b(align|as|atomic|begin|borrowed|break|by|catch|class|cobegin|coforall|continue|delete|dmapped|do|else|enum|except|export|extern|for|forall|if|index|inline|in|inout|iter|label|lambda|let|local|module|new|noinit|on|only|otherwise|out|override|owned|pragma|private|proc|public|record|reduce|ref|require|return|scan|select|serial|shared|single|sync|then|throw|throws|try|union|unmanaged|use|var|when|where|while|with|yield|zip)\b</string>
<string>\b(align|as|atomic|begin|borrowed|break|by|bytes|catch|class|cobegin|coforall|continue|delete|dmapped|do|else|enum|except|export|extern|for|forall|if|index|inline|in|inout|iter|label|lambda|let|lifetime|local|module|new|noinit|nothing|on|only|otherwise|out|override|owned|pragma|private|proc|public|record|reduce|ref|require|return|scan|select|serial|shared|single|sync|then|throw|throws|try|union|unmanaged|use|var|void|when|where|while|with|yield|zip)\b</string>
<key>name</key>
<string>invalid.illegal.name.chapel</string>
</dict>
Expand Down

0 comments on commit 822363c

Please sign in to comment.