aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/application.rs
diff options
context:
space:
mode:
authorBlaž Hrastnik2022-03-03 08:18:26 +0000
committerBlaž Hrastnik2022-03-03 08:18:26 +0000
commit0062af6a19d96e0a4c3f94e3e44c179230e005b9 (patch)
treea2cbea9a8bec1d0aed96c4d20e831e587e2310b8 /helix-term/src/application.rs
parent737282d0e9d33923dad682994a521ac46be3c0d0 (diff)
minor: Remove some outdated comments
Diffstat (limited to 'helix-term/src/application.rs')
-rw-r--r--helix-term/src/application.rs16
1 files changed, 1 insertions, 15 deletions
diff --git a/helix-term/src/application.rs b/helix-term/src/application.rs
index 9f95fa93..1b8aba6a 100644
--- a/helix-term/src/application.rs
+++ b/helix-term/src/application.rs
@@ -42,16 +42,11 @@ pub struct Application {
compositor: Compositor,
editor: Editor,
- // TODO should be separate to take only part of the config
+ // TODO: share an ArcSwap with Editor?
config: Config,
- // Currently never read from. Remove the `allow(dead_code)` when
- // that changes.
#[allow(dead_code)]
theme_loader: Arc<theme::Loader>,
-
- // Currently never read from. Remove the `allow(dead_code)` when
- // that changes.
#[allow(dead_code)]
syn_loader: Arc<syntax::Loader>,
@@ -719,15 +714,6 @@ impl Application {
Some(call) => call,
None => {
error!("Method not found {}", method);
- // language_server.reply(
- // call.id,
- // // TODO: make a Into trait that can cast to Err(jsonrpc::Error)
- // Err(helix_lsp::jsonrpc::Error {
- // code: helix_lsp::jsonrpc::ErrorCode::MethodNotFound,
- // message: "Method not found".to_string(),
- // data: None,
- // }),
- // );
return;
}
};