(label: &str, loc: lsp_types::Location)
| 358 | |
| 359 | #[cfg(feature = "lsp")] |
| 360 | fn format_location_result(label: &str, loc: lsp_types::Location) -> String { |
| 361 | format!("{} found at:\n{}", label, format_location(&loc)) |
| 362 | } |
| 363 | |
| 364 | #[cfg(feature = "lsp")] |
| 365 | fn format_hover_result(hover: lsp_types::Hover) -> String { |