From 5306fc3b47e9ec3a11183b1dcc5dd12ee664d27d Mon Sep 17 00:00:00 2001 From: KY64 <31939494+KY64@users.noreply.github.com> Date: Thu, 2 Sep 2021 22:01:14 +0700 Subject: [PATCH] docs: update yarn configuration (#311) --- Readme.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Readme.md b/Readme.md index a29b158..00d1483 100644 --- a/Readme.md +++ b/Readme.md @@ -48,14 +48,15 @@ In your vim/neovim, run command: For yarn2 ( >= v2.0.0-rc.36) user want to use local typescript module: -- Run command `yarn dlx @yarnpkg/pnpify --sdk vim`, which will generate +- Run command `yarn dlx @yarnpkg/sdks vim`, which will generate `.vim/coc-settings.json`, with content: ```json { - "tsserver.tsdk": ".yarn/sdks/typescript/lib", "eslint.packageManager": "yarn", - "eslint.nodePath": ".yarn/sdks" + "eslint.nodePath": ".yarn/sdks", + "workspace.workspaceFolderCheckCwd": false, + "tsserver.tsdk": ".yarn/sdks/typescript/lib" } ```