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:
parent
e4763a3820
commit
065abccd88
3 changed files with 3 additions and 3 deletions
|
@ -126,7 +126,7 @@ for guide of coc.nvim's configuration.
|
||||||
- `tsserver.implicitProjectConfig.experimentalDecorators`:Enable
|
- `tsserver.implicitProjectConfig.experimentalDecorators`:Enable
|
||||||
experimentalDecorators for implicit project, default: `false`
|
experimentalDecorators for implicit project, default: `false`
|
||||||
- `tsserver.disableAutomaticTypeAcquisition`:Disable download of typings,
|
- `tsserver.disableAutomaticTypeAcquisition`:Disable download of typings,
|
||||||
default: `false`
|
default: `true`
|
||||||
- `tsserver.useBatchedBufferSync`: use batched buffer synchronize support.
|
- `tsserver.useBatchedBufferSync`: use batched buffer synchronize support.
|
||||||
- `typescript.updateImportsOnFileMove.enable`:Enable update imports on file
|
- `typescript.updateImportsOnFileMove.enable`:Enable update imports on file
|
||||||
move., default: `true`
|
move., default: `true`
|
||||||
|
|
|
@ -252,7 +252,7 @@
|
||||||
},
|
},
|
||||||
"tsserver.disableAutomaticTypeAcquisition": {
|
"tsserver.disableAutomaticTypeAcquisition": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": false,
|
"default": true,
|
||||||
"description": "Disable download of typings"
|
"description": "Disable download of typings"
|
||||||
},
|
},
|
||||||
"tsserver.useBatchedBufferSync": {
|
"tsserver.useBatchedBufferSync": {
|
||||||
|
|
|
@ -86,7 +86,7 @@ export class TypeScriptServiceConfiguration {
|
||||||
}
|
}
|
||||||
|
|
||||||
public get disableAutomaticTypeAcquisition(): boolean {
|
public get disableAutomaticTypeAcquisition(): boolean {
|
||||||
return this._configuration.get<boolean>('disableAutomaticTypeAcquisition', false)
|
return this._configuration.get<boolean>('disableAutomaticTypeAcquisition', true)
|
||||||
}
|
}
|
||||||
|
|
||||||
public get formatOnType(): boolean {
|
public get formatOnType(): boolean {
|
||||||
|
|
Loading…
Reference in a new issue