aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/application.rs
diff options
context:
space:
mode:
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;
}
};