From b8795d62879e7fd1330cc3381c065bb6f649ab15 Mon Sep 17 00:00:00 2001 From: Remco Haszing Date: Wed, 12 Jan 2022 10:09:22 +0100 Subject: [PATCH] Update `unified-language-server` Closes GH-3. Closes GH-5. Reviewed-by: Titus Wormer --- index.js | 3 ++- package.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 7b7a3ec..61670aa 100755 --- a/index.js +++ b/index.js @@ -8,6 +8,7 @@ createUnifiedLanguageServer({ ignoreName: '.remarkignore', packageField: 'remarkConfig', pluginPrefix: 'remark', - plugins: ['remark-parse', 'remark-stringify'], + processorName: 'remark', + processorSpecifier: 'remark', rcName: '.remarkrc' }) diff --git a/package.json b/package.json index bec6208..23cfc9c 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "index.js" ], "dependencies": { - "unified-language-server": "^1.0.0" + "unified-language-server": "^2.0.0" }, "devDependencies": { "prettier": "^2.0.0",