Merge remote-tracking branch 'origin/main' into simplify-action-dispatch
This commit is contained in:
commit
489b1f6a63
23 changed files with 903 additions and 337 deletions
|
@ -89,23 +89,26 @@ pub fn init(
|
|||
(
|
||||
"tsx",
|
||||
tree_sitter_typescript::language_tsx(),
|
||||
vec![adapter_arc(typescript::TypeScriptLspAdapter::new(
|
||||
node_runtime.clone(),
|
||||
))],
|
||||
vec![
|
||||
adapter_arc(typescript::TypeScriptLspAdapter::new(node_runtime.clone())),
|
||||
adapter_arc(typescript::EsLintLspAdapter::new(node_runtime.clone())),
|
||||
],
|
||||
),
|
||||
(
|
||||
"typescript",
|
||||
tree_sitter_typescript::language_typescript(),
|
||||
vec![adapter_arc(typescript::TypeScriptLspAdapter::new(
|
||||
node_runtime.clone(),
|
||||
))],
|
||||
vec![
|
||||
adapter_arc(typescript::TypeScriptLspAdapter::new(node_runtime.clone())),
|
||||
adapter_arc(typescript::EsLintLspAdapter::new(node_runtime.clone())),
|
||||
],
|
||||
),
|
||||
(
|
||||
"javascript",
|
||||
tree_sitter_typescript::language_tsx(),
|
||||
vec![adapter_arc(typescript::TypeScriptLspAdapter::new(
|
||||
node_runtime.clone(),
|
||||
))],
|
||||
vec![
|
||||
adapter_arc(typescript::TypeScriptLspAdapter::new(node_runtime.clone())),
|
||||
adapter_arc(typescript::EsLintLspAdapter::new(node_runtime.clone())),
|
||||
],
|
||||
),
|
||||
(
|
||||
"html",
|
||||
|
@ -132,7 +135,7 @@ pub fn init(
|
|||
(
|
||||
"yaml",
|
||||
tree_sitter_yaml::language(),
|
||||
vec![adapter_arc(yaml::YamlLspAdapter::new(node_runtime.clone()))],
|
||||
vec![adapter_arc(yaml::YamlLspAdapter::new(node_runtime))],
|
||||
),
|
||||
];
|
||||
|
||||
|
|
|
@ -206,10 +206,6 @@ impl LspAdapter for EsLintLspAdapter {
|
|||
"shortenToSingleLine": false
|
||||
},
|
||||
"nodePath": null,
|
||||
"workspaceFolder": {
|
||||
"name": "testing_ts",
|
||||
"uri": "file:///Users/julia/Stuff/testing_ts"
|
||||
},
|
||||
"codeAction": {
|
||||
"disableRuleComment": {
|
||||
"enable": true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue