From 2ac170e64ef304331dbafe2e6800ad46587051aa Mon Sep 17 00:00:00 2001 From: kieferrm Date: Mon, 23 May 2016 10:38:31 -0700 Subject: [PATCH] fix hygiene issues --- .../markdown/markdown.configuration.json | 48 +++--- extensions/markdown/package.json | 138 +++++++++--------- extensions/markdown/package.nls.json | 4 +- .../markdown/syntaxes/markdown.tmLanguage | 20 +-- extensions/markdown/tsconfig.json | 22 +-- 5 files changed, 116 insertions(+), 116 deletions(-) diff --git a/extensions/markdown/markdown.configuration.json b/extensions/markdown/markdown.configuration.json index 3bf082d18e5..29c860e9914 100644 --- a/extensions/markdown/markdown.configuration.json +++ b/extensions/markdown/markdown.configuration.json @@ -1,26 +1,26 @@ { - "comments": { - // symbol used for single line comment. Remove this entry if your language does not support line comments - "lineComment": "//", - // symbols used for start and end a block comment. Remove this entry if your language does not support block comments - "blockComment": [ - "/*", - "*/" - ] - }, - // symbols used as brackets - "brackets": [ - [ - "{", - "}" - ], - [ - "[", - "]" - ], - [ - "(", - ")" - ] - ] + "comments": { + // symbol used for single line comment. Remove this entry if your language does not support line comments + "lineComment": "//", + // symbols used for start and end a block comment. Remove this entry if your language does not support block comments + "blockComment": [ + "/*", + "*/" + ] + }, + // symbols used as brackets + "brackets": [ + [ + "{", + "}" + ], + [ + "[", + "]" + ], + [ + "(", + ")" + ] + ] } \ No newline at end of file diff --git a/extensions/markdown/package.json b/extensions/markdown/package.json index 9c3d54b6a9b..cf3a13453b2 100644 --- a/extensions/markdown/package.json +++ b/extensions/markdown/package.json @@ -1,77 +1,77 @@ { - "name": "vscode-markdown", - "displayName": "VS Code Markdown", - "description": "Markdown for VS Code", - "version": "0.2.0", - "publisher": "Microsoft", - "engines": { - "vscode": "^1.0.0" - }, - "main": "./out/extension", - "categories": [ - "Languages" - ], - "activationEvents": [ - "onCommand:extension.previewMarkdown", - "onCommand:extension.previewMarkdownSide" - ], - "contributes": { - "languages": [ - { - "id": "markdown", - "aliases": [ - "Markdown", - "markdown" - ], - "extensions": [ - ".md", - ".mdown", - ".markdown", - ".markdn" - ], - "configuration": "./markdown.configuration.json" - } - ], - "grammars": [ - { - "language": "markdown", - "scopeName": "text.html.markdown", - "path": "./syntaxes/markdown.tmLanguage" - } - ], - "commands": [ - { - "command": "extension.previewMarkdown", - "title": "%markdown.previewMarkdown.title%" - }, - { - "command": "extension.previewMarkdownSide", - "title": "%markdown.previewMarkdownSide.title%" - } - ], - "keybindings": [ - { - "command": "extension.previewMarkdown", - "key": "shift+ctrl+v", - "mac": "shift+cmd+v" - }, - { - "command": "extension.previewMarkdownSide", - "key": "ctrl+k v", - "mac": "cmd+k v" - } - ], - "snippets": [{ + "name": "vscode-markdown", + "displayName": "VS Code Markdown", + "description": "Markdown for VS Code", + "version": "0.2.0", + "publisher": "Microsoft", + "engines": { + "vscode": "^1.0.0" + }, + "main": "./out/extension", + "categories": [ + "Languages" + ], + "activationEvents": [ + "onCommand:extension.previewMarkdown", + "onCommand:extension.previewMarkdownSide" + ], + "contributes": { + "languages": [ + { + "id": "markdown", + "aliases": [ + "Markdown", + "markdown" + ], + "extensions": [ + ".md", + ".mdown", + ".markdown", + ".markdn" + ], + "configuration": "./markdown.configuration.json" + } + ], + "grammars": [ + { + "language": "markdown", + "scopeName": "text.html.markdown", + "path": "./syntaxes/markdown.tmLanguage" + } + ], + "commands": [ + { + "command": "extension.previewMarkdown", + "title": "%markdown.previewMarkdown.title%" + }, + { + "command": "extension.previewMarkdownSide", + "title": "%markdown.previewMarkdownSide.title%" + } + ], + "keybindings": [ + { + "command": "extension.previewMarkdown", + "key": "shift+ctrl+v", + "mac": "shift+cmd+v" + }, + { + "command": "extension.previewMarkdownSide", + "key": "ctrl+k v", + "mac": "cmd+k v" + } + ], + "snippets": [{ "language": "markdown", "path": "./snippets/markdown.json" }] - }, + }, "scripts": { "vscode:prepublish": "node ../../node_modules/gulp/bin/gulp.js --gulpfile ../../build/gulpfile.extensions.js compile-extension:markdown ./tsconfig.json" }, - "dependencies": { - "highlight.js": "^9.3.0", - "markdown-it": "^6.0.1", - "markdown-it-named-headers": "0.0.4" - } + "dependencies": { + "highlight.js": "^9.3.0", + "markdown-it": "^6.0.1", + "markdown-it-named-headers": "0.0.4" + } } \ No newline at end of file diff --git a/extensions/markdown/package.nls.json b/extensions/markdown/package.nls.json index ecfbb9272a4..341e838ed68 100644 --- a/extensions/markdown/package.nls.json +++ b/extensions/markdown/package.nls.json @@ -1,4 +1,4 @@ { - "markdown.previewMarkdown.title" : "Markdown: Toggle Preview", - "markdown.previewMarkdownSide.title" : "Markdown: Open Preview to the Side" + "markdown.previewMarkdown.title" : "Markdown: Toggle Preview", + "markdown.previewMarkdownSide.title" : "Markdown: Open Preview to the Side" } \ No newline at end of file diff --git a/extensions/markdown/syntaxes/markdown.tmLanguage b/extensions/markdown/syntaxes/markdown.tmLanguage index a10afd81849..cd2abcff2dc 100644 --- a/extensions/markdown/syntaxes/markdown.tmLanguage +++ b/extensions/markdown/syntaxes/markdown.tmLanguage @@ -1177,17 +1177,17 @@ (\*\*|__)(?=\S) # Open (?= ( - <[^>]*+> # HTML tags + <[^>]*+> # HTML tags | (?<raw>`+)([^`]|(?!(?<!`)\k<raw>(?!`))`)*+\k<raw> # Raw | \\[\\`*_{}\[\]()#.!+\->]?+ # Escapes | \[ ( - (?<square> # Named group + (?<square> # Named group [^\[\]\\] # Match most chars - | \\. # Escaped chars - | \[ \g<square>*+ \] # Nested brackets - )*+ + | \\. # Escaped chars + | \[ \g<square>*+ \] # Nested brackets + )*+ \] ( ( # Reference Link @@ -1458,17 +1458,17 @@ (\*|_)(?=\S) # Open (?= ( - <[^>]*+> # HTML tags + <[^>]*+> # HTML tags | (?<raw>`+)([^`]|(?!(?<!`)\k<raw>(?!`))`)*+\k<raw> # Raw | \\[\\`*_{}\[\]()#.!+\->]?+ # Escapes | \[ ( - (?<square> # Named group + (?<square> # Named group [^\[\]\\] # Match most chars - | \\. # Escaped chars - | \[ \g<square>*+ \] # Nested brackets - )*+ + | \\. # Escaped chars + | \[ \g<square>*+ \] # Nested brackets + )*+ \] ( ( # Reference Link diff --git a/extensions/markdown/tsconfig.json b/extensions/markdown/tsconfig.json index e5187e71148..23671861401 100644 --- a/extensions/markdown/tsconfig.json +++ b/extensions/markdown/tsconfig.json @@ -1,13 +1,13 @@ { - "compilerOptions": { - "module": "commonjs", - "target": "es5", - "outDir": "out", - "noLib": true, - "sourceMap": true, - "rootDir": "." - }, - "exclude": [ - "node_modules" - ] + "compilerOptions": { + "module": "commonjs", + "target": "es5", + "outDir": "out", + "noLib": true, + "sourceMap": true, + "rootDir": "." + }, + "exclude": [ + "node_modules" + ] } \ No newline at end of file