From 9a446a37312f7bc431e1d95234ca4a280c688550 Mon Sep 17 00:00:00 2001 From: Javier Reyes Date: Sat, 8 Sep 2018 14:34:47 +0200 Subject: [PATCH] Add support for PlantUML standalone files. (#93) Included case label for 'diagram' language, as vscode recognizes it. --- README.md | 1 + package.json | 1 + src/parser.ts | 1 + 3 files changed, 3 insertions(+) diff --git a/README.md b/README.md index 8d32d81..85bebc8 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/package.json b/package.json index a3dc903..df8459c 100644 --- a/package.json +++ b/package.json @@ -66,6 +66,7 @@ "onLanguage:perl6", "onLanguage:pig", "onLanguage:plaintext", + "onLanguage:diagram", "onLanguage:plsql", "onLanguage:php", "onLanguage:powershell", diff --git a/src/parser.ts b/src/parser.ts index cfb9f19..af35a06 100644 --- a/src/parser.ts +++ b/src/parser.ts @@ -251,6 +251,7 @@ export class Parser { break; case "vb": + case "diagram": // ? PlantUML is recognized as Diagram (diagram) this.delimiter = "'"; break;