aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_lsp_server
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_lsp_server')
-rw-r--r--crates/ra_lsp_server/src/main.rs25
1 files changed, 1 insertions, 24 deletions
diff --git a/crates/ra_lsp_server/src/main.rs b/crates/ra_lsp_server/src/main.rs
index 173418520..8301a1044 100644
--- a/crates/ra_lsp_server/src/main.rs
+++ b/crates/ra_lsp_server/src/main.rs
@@ -2,6 +2,7 @@
2extern crate log; 2extern crate log;
3#[macro_use] 3#[macro_use]
4extern crate failure; 4extern crate failure;
5#[macro_use]
5extern crate serde_derive; 6extern crate serde_derive;
6extern crate serde; 7extern crate serde;
7extern crate flexi_logger; 8extern crate flexi_logger;
@@ -64,27 +65,3 @@ fn main_inner() -> Result<()> {
64 info!("... IO is down"); 65 info!("... IO is down");
65 Ok(()) 66 Ok(())
66} 67}
67
68/*
69 (let ((backend (eglot-xref-backend)))
70 (mapcar
71 (lambda (xref)
72 (let ((loc (xref-item-location xref)))
73 (propertize
74 (concat
75 (when (xref-file-location-p loc)
76 (with-slots (file line column) loc
77 (format "%s:%s:%s:"
78 (propertize (file-relative-name file)
79 'face 'compilation-info)
80 (propertize (format "%s" line)
81 'face 'compilation-line
82 )
83 column)))
84 (xref-item-summary xref))
85 'xref xref)))
86 (xref-backend-apropos backend "Analysis"))
87 )
88
89
90*/