fix vscode-json-language-server formatting behavior
This commit is contained in:
parent
fed6337a7e
commit
e4738ac41c
1 changed files with 9 additions and 0 deletions
|
|
@ -10,3 +10,12 @@ comment-token = "//"
|
|||
block-comment-tokens = { start = "/*", end = "*/" }
|
||||
language-servers = [ "typescript-language-server", "vscode-eslint-language-server" ]
|
||||
indent = { tab-width = 2, unit = " " }
|
||||
|
||||
[[language]]
|
||||
name = "json"
|
||||
scope = "source.json"
|
||||
injection-regex = "json"
|
||||
file-types = [ "json" ]
|
||||
language-servers = [ "vscode-json-language-server" ]
|
||||
auto-format = false # Prevent formatter from removing newline at end of file
|
||||
indent = { tab-width = 2, unit = " " }
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue