From 547ebe9d10d42a6cd329462471f6a7c6b3e6a0c5 Mon Sep 17 00:00:00 2001 From: Jerome Simeon Date: Tue, 5 Nov 2019 23:11:31 -0500 Subject: [PATCH] fix(0.20) Adjust metadata for markdown parse Signed-off-by: Jerome Simeon --- client/README.md | 2 +- client/out/src/extension.js | 2 +- client/out/src/extension.js.map | 2 +- client/package.json | 2 +- client/src/extension.ts | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/client/README.md b/client/README.md index 966e015..271b2bd 100644 --- a/client/README.md +++ b/client/README.md @@ -6,7 +6,7 @@ This VSCode extension: - parses and type-checks '.ergo' files using the Ergo compiler and reports any errors. - parses and validates '.cto' files using the Concerto parser and reports any errors. -- parses and validates '.tem' files using the Cicero templates parser and reports any errors. +- parses and validates '.md' and '.tem.md' files using the Cicero templates parser and reports any errors. This extension is currently in beta so please raise any problems you find as an [issue](https://github.com/accordproject/cicero-vscode-extension/issues). diff --git a/client/out/src/extension.js b/client/out/src/extension.js index 987dd02..5b671d0 100644 --- a/client/out/src/extension.js +++ b/client/out/src/extension.js @@ -34,7 +34,7 @@ function activate(context) { { scheme: 'file', language: 'ergo' }, { scheme: 'file', language: 'concerto' }, { scheme: 'file', language: 'ciceroMark' }, - { scheme: 'file', language: 'plaintext', pattern: 'text/**/sample*.md' } + { scheme: 'file', language: 'markdown', pattern: '**/sample*.md' } ], synchronize: { // Synchronize the setting section 'languageServerExample' to the server diff --git a/client/out/src/extension.js.map b/client/out/src/extension.js.map index bc5d604..54d61aa 100644 --- a/client/out/src/extension.js.map +++ b/client/out/src/extension.js.map @@ -1 +1 @@ -{"version":3,"file":"extension.js","sourceRoot":"","sources":["../../src/extension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,YAAY,CAAC;;AAEb,6BAA6B;AAE7B,mCAAqD;AACrD,iEAA4G;AAE5G,kBAAyB,OAAyB;IAEjD,oCAAoC;IACpC,IAAI,YAAY,GAAG,OAAO,CAAC,cAAc,CAAC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AC,KAAK,EAAE,CAAC;IAE9F,kEAAkE;IAClE,sDAAsD;IACtD,OAAO,CAAC,aAAa,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;AACxC,CAAC;AArCD,4BAqCC"} \ No newline at end of file diff --git a/client/package.json b/client/package.json index a68fd83..7c998b2 100755 --- a/client/package.json +++ b/client/package.json @@ -50,7 +50,7 @@ "onLanguage:ergo", "onLanguage:concerto", "onLanguage:ciceroMark", - "onLanguage:plaintext" + "onLanguage:markdown" ], "main": "./out/src/extension", "contributes": { diff --git a/client/src/extension.ts b/client/src/extension.ts index 9541bda..f2d9a22 100755 --- a/client/src/extension.ts +++ b/client/src/extension.ts @@ -39,7 +39,7 @@ export function activate(context: ExtensionContext) { {scheme: 'file', language: 'ergo'}, {scheme: 'file', language: 'concerto'}, {scheme: 'file', language: 'ciceroMark'}, - {scheme: 'file', language: 'plaintext', pattern: 'text/**/sample*.md'} + {scheme: 'file', language: 'markdown', pattern: '**/sample*.md'} ], synchronize: { // Synchronize the setting section 'languageServerExample' to the server