Permalink
Browse files

Add Visual Studio Code syntax coloring support for the new error thro…

…wing built-in methods
  • Loading branch information...
pmoura committed Nov 14, 2017
1 parent 835ad2d commit 29139637b4dabd3575dd4c0569e679a17d6a64a5
Showing with 7 additions and 1 deletion.
  1. +7 −1 coding/vscode/pmoura.logtalk-0.0.2/syntaxes/Logtalk.tmLanguage
@@ -189,7 +189,7 @@
</dict>
<dict>
<key>match</key>
<string>\b(true|fa(il|lse)|repeat)\b(?![-!(^~])</string>
<string>\b(true|fa(il|lse)|repeat|instantiation_error)\b(?![-!(^~])</string>
<key>name</key>
<string>support.function.control.logtalk</string>
</dict>
@@ -199,6 +199,12 @@
<key>name</key>
<string>support.function.control.logtalk</string>
</dict>
<dict>
<key>match</key>
<string>\b((type|domain|existence|permission|representation|evaluation|resource)_error)(?=[(])</string>
<key>name</key>
<string>support.function.control.logtalk</string>
</dict>
<dict>
<key>match</key>
<string>\b((get|p(eek|ut))_(c(har|ode)|byte)|nl)(?=[(])</string>

0 comments on commit 2913963

Please sign in to comment.