docs: update yarn configuration (#311)

This commit is contained in:
KY64 2021-09-02 22:01:14 +07:00 committed by GitHub
parent 68bb4634f3
commit 5306fc3b47
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"
}
```