refactor: Disables type acquisition by default (#320)

* docs: update yarn configuration (#311)

* refactor: Disables type acquisition by default

Co-authored-by: KY64 <31939494+KY64@users.noreply.github.com>
This commit is contained in:
Ryan Christian 2021-12-20 23:53:39 -06:00 committed by GitHub
parent e4763a3820
commit 065abccd88
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -126,7 +126,7 @@ for guide of coc.nvim's configuration.
- `tsserver.implicitProjectConfig.experimentalDecorators`:Enable
experimentalDecorators for implicit project, default: `false`
- `tsserver.disableAutomaticTypeAcquisition`:Disable download of typings,
default: `false`
default: `true`
- `tsserver.useBatchedBufferSync`: use batched buffer synchronize support.
- `typescript.updateImportsOnFileMove.enable`:Enable update imports on file
move., default: `true`

View file

@ -252,7 +252,7 @@
},
"tsserver.disableAutomaticTypeAcquisition": {
"type": "boolean",
"default": false,
"default": true,
"description": "Disable download of typings"
},
"tsserver.useBatchedBufferSync": {

View file

@ -86,7 +86,7 @@ export class TypeScriptServiceConfiguration {
}
public get disableAutomaticTypeAcquisition(): boolean {
return this._configuration.get<boolean>('disableAutomaticTypeAcquisition', false)
return this._configuration.get<boolean>('disableAutomaticTypeAcquisition', true)
}
public get formatOnType(): boolean {