mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 18:23:43 +08:00
DEV: Update vscode config to use ruby-lsp for syntax_tree formatting (#29784)
This commit is contained in:
parent
9b0cfa99c5
commit
8325465dea
|
@ -28,7 +28,6 @@
|
|||
"Shopify.ruby-lsp",
|
||||
"esbenp.prettier-vscode",
|
||||
"dbaeumer.vscode-eslint",
|
||||
"ruby-syntax-tree.vscode-syntax-tree",
|
||||
"lifeart.vscode-glimmer-syntax",
|
||||
"typed-ember.glint-vscode"
|
||||
]
|
||||
|
|
1
.vscode/extensions.json
vendored
1
.vscode/extensions.json
vendored
|
@ -4,7 +4,6 @@
|
|||
"Shopify.ruby-lsp",
|
||||
"esbenp.prettier-vscode",
|
||||
"dbaeumer.vscode-eslint",
|
||||
"ruby-syntax-tree.vscode-syntax-tree",
|
||||
"lifeart.vscode-glimmer-syntax",
|
||||
"typed-ember.glint-vscode"
|
||||
]
|
||||
|
|
3
.vscode/settings.json.sample
vendored
3
.vscode/settings.json.sample
vendored
|
@ -19,7 +19,7 @@
|
|||
},
|
||||
"[ruby]": {
|
||||
"editor.formatOnSave": true,
|
||||
"editor.defaultFormatter": "ruby-syntax-tree.vscode-syntax-tree"
|
||||
"editor.defaultFormatter": "Shopify.ruby-lsp"
|
||||
},
|
||||
"[handlebars]": {
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
||||
|
@ -33,4 +33,5 @@
|
|||
|
||||
"task.autoDetect": "off",
|
||||
"eslint.debug": false,
|
||||
"rubyLsp.formatter": "syntax_tree",
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user