From a2d5054904a3944664e88d7679800c1ba4173322 Mon Sep 17 00:00:00 2001 From: Evzen Wybitul Date: Thu, 2 Aug 2018 20:07:24 +0200 Subject: [PATCH 1/2] Fix dead links --- package.json | 128 ++++++++++++++++++++++++++------------------------- 1 file changed, 66 insertions(+), 62 deletions(-) diff --git a/package.json b/package.json index e438906..611f182 100644 --- a/package.json +++ b/package.json @@ -1,63 +1,67 @@ { - "name": "racket", - "displayName": "Racket", - "description": "Racket syntax highlighting and basic code completion", - "version": "1.0.0", - "preview": true, - "publisher": "karyfoundation", - "icon": "icon.png", - "engines": { - "vscode": "^1.22.0" - }, - "repository": { - "type": "git", - "url": "https://github.com/karyfoundation/racket-vscode" - }, - "categories": [ - "Programming Languages" - ], - "activationEvents": [ - "onLanguage:racket", - "onCommand:extension.sayHello" - ], - "main": "./out/src/extension", - "contributes": { - "commands": [ - { - "command": "extension.sayHello", - "title": "Hello World" - } - ], - "languages": [ - { - "id": "racket", - "extensions": [ - ".rkt" - ], - "aliases": [ - "Racket", - "racket" - ], - "filenames": [ - ".rkt" - ], - "configuration": "./language-configuration.json" - } - ], - "grammars": [ - { - "language": "racket", - "scopeName": "source.racket", - "path": "./syntaxes/racket.tmLanguage.json" - } - ] - }, - "scripts": { - "vscode:prepublish": "node ./node_modules/vscode/bin/compile", - "compile": "node ./node_modules/vscode/bin/compile -watch -p ./" - }, - "devDependencies": { - "typescript": "^1.6.2", - "vscode": "0.10.x" - } -} + "name": "racket", + "displayName": "Racket", + "description": "Racket syntax highlighting and basic code completion", + "version": "1.0.0", + "preview": true, + "publisher": "karyfoundation", + "icon": "icon.png", + "engines": { + "vscode": "^1.22.0" + }, + "repository": { + "type": "git", + "url": "https://github.com/pmkary/vscode-racket" + }, + "homepage": "https://github.com/pmkary/vscode-racket/blob/master/README.md", + "bugs": { + "url": "https://github.com/pmkary/vscode-racket/issues" + }, + "categories": [ + "Programming Languages" + ], + "activationEvents": [ + "onLanguage:racket", + "onCommand:extension.sayHello" + ], + "main": "./out/src/extension", + "contributes": { + "commands": [ + { + "command": "extension.sayHello", + "title": "Hello World" + } + ], + "languages": [ + { + "id": "racket", + "extensions": [ + ".rkt" + ], + "aliases": [ + "Racket", + "racket" + ], + "filenames": [ + ".rkt" + ], + "configuration": "./language-configuration.json" + } + ], + "grammars": [ + { + "language": "racket", + "scopeName": "source.racket", + "path": "./syntaxes/racket.tmLanguage.json" + } + ] + }, + "scripts": { + "vscode:prepublish": "node ./node_modules/vscode/bin/compile", + "compile": "node ./node_modules/vscode/bin/compile -watch -p ./" + }, + "devDependencies": { + "typescript": "^1.6.2", + "vscode": "0.10.x" + } +} \ No newline at end of file From 54a0c040bf1b7bae03cd3e98d59cf7b8d11aba1a Mon Sep 17 00:00:00 2001 From: Evzen Wybitul Date: Thu, 2 Aug 2018 22:55:07 +0200 Subject: [PATCH 2/2] Fix minor bugs --- syntaxes/racket.tmLanguage.json | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/syntaxes/racket.tmLanguage.json b/syntaxes/racket.tmLanguage.json index 82d6246..979835d 100644 --- a/syntaxes/racket.tmLanguage.json +++ b/syntaxes/racket.tmLanguage.json @@ -32,6 +32,9 @@ }, { "include": "#quotes" + }, + { + "include": "#parentheses" } ] }, @@ -757,7 +760,7 @@ "2": { "name": "storage.type.racket" }, - "3": { + "4": { "name": "entity.name.variable.racket" } }, @@ -1232,7 +1235,7 @@ }, { "name": "meta.parens.racket", - "begin": "(\\()\\s*([+\\-*\/])(?=[\\s\\{\\(\\[#])", + "begin": "(\\()\\s*([+\\-*\/<>]|<=|>=)(?=[\\s\\{\\(\\[#])", "beginCaptures": { "1": { "name": "punctuation.section.parens.begin.racket" @@ -1970,7 +1973,17 @@ }, "parentheses": { "begin": "\\(", + "beginCaptures": { + "0": { + "name": "punctuation.section.parens.begin.racket" + } + }, "end": "\\)", + "endCaptures": { + "0": { + "name": "punctuation.section.parens.begin.racket" + } + }, "patterns": [ { "include": "#parentheses"