Skip to content

Commit

Permalink
Add support for PlantUML standalone files. (#93)
Browse files Browse the repository at this point in the history
Included case label for 'diagram' language, as vscode recognizes it.
  • Loading branch information
JavierReyes945 authored and aaron-bond committed Sep 8, 2018
1 parent f0932f0 commit 9a446a3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ The default 5 can be modifed to change the colors, and more can be added.
* Perl 6
* PHP
* Pig
* PlantUML
* PL/SQL
* PowerShell
* Python
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
"onLanguage:perl6",
"onLanguage:pig",
"onLanguage:plaintext",
"onLanguage:diagram",
"onLanguage:plsql",
"onLanguage:php",
"onLanguage:powershell",
Expand Down
1 change: 1 addition & 0 deletions src/parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,7 @@ export class Parser {
break;

case "vb":
case "diagram": // ? PlantUML is recognized as Diagram (diagram)
this.delimiter = "'";
break;

Expand Down

0 comments on commit 9a446a3

Please sign in to comment.