feat: add insertSpaceAfterOpeningAndBeforeClosingEmptyBraces (#239)
https://github.com/microsoft/TypeScript/pull/41304
This commit is contained in:
parent
27eb1d8e55
commit
f2860b493b
3 changed files with 13 additions and 0 deletions
|
@ -158,6 +158,8 @@ for guide of coc.nvim's configuration.
|
|||
- `typescript.format.insertSpaceBeforeFunctionParenthesis` default: `false`
|
||||
- `typescript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets`
|
||||
default: `false`
|
||||
- `typescript.format.insertSpaceAfterOpeningAndBeforeClosingEmptyBraces`
|
||||
default: `false`
|
||||
- `typescript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces`
|
||||
default: `false`
|
||||
- `typescript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis`
|
||||
|
@ -202,6 +204,8 @@ for guide of coc.nvim's configuration.
|
|||
- `javascript.format.insertSpaceBeforeFunctionParenthesis` default: `false`
|
||||
- `javascript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets`
|
||||
default: `false`
|
||||
- `javascript.format.insertSpaceAfterOpeningAndBeforeClosingEmptyBraces`
|
||||
default: `false`
|
||||
- `javascript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces`
|
||||
default: `false`
|
||||
- `javascript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis`
|
||||
|
|
|
@ -379,6 +379,10 @@
|
|||
"type": "boolean",
|
||||
"default": false
|
||||
},
|
||||
"typescript.format.insertSpaceAfterOpeningAndBeforeClosingEmptyBraces": {
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
},
|
||||
"typescript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces": {
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
|
@ -557,6 +561,10 @@
|
|||
"type": "boolean",
|
||||
"default": false
|
||||
},
|
||||
"javascript.format.insertSpaceAfterOpeningAndBeforeClosingEmptyBraces": {
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
},
|
||||
"javascript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces": {
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
|
|
|
@ -136,6 +136,7 @@ export default class FileConfigurationManager {
|
|||
insertSpaceBeforeFunctionParenthesis: config.get<boolean>('insertSpaceBeforeFunctionParenthesis'),
|
||||
insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis: config.get<boolean>('insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis'),
|
||||
insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets: config.get<boolean>('insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets'),
|
||||
insertSpaceAfterOpeningAndBeforeClosingEmptyBraces: config.get<boolean>('insertSpaceAfterOpeningAndBeforeClosingEmptyBraces'),
|
||||
insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces: config.get<boolean>('insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces'),
|
||||
insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces: config.get<boolean>('insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces'),
|
||||
insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces: config.get<boolean>('insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces'),
|
||||
|
|
Loading…
Reference in a new issue