Fix bitrotted module name
This commit is contained in:
@@ -25,7 +25,7 @@ use vfs::AbsPathBuf;
|
|||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
caps::completion_item_edit_resolve, diagnostics::DiagnosticsMapConfig,
|
caps::completion_item_edit_resolve, diagnostics::DiagnosticsMapConfig,
|
||||||
line_endings::OffsetEncoding, lsp_ext::supports_utf8,
|
line_index::OffsetEncoding, lsp_ext::supports_utf8,
|
||||||
};
|
};
|
||||||
|
|
||||||
config_data! {
|
config_data! {
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ use vfs::AbsPathBuf;
|
|||||||
use crate::{
|
use crate::{
|
||||||
from_json,
|
from_json,
|
||||||
global_state::GlobalStateSnapshot,
|
global_state::GlobalStateSnapshot,
|
||||||
line_endings::{LineIndex, OffsetEncoding},
|
line_index::{LineIndex, OffsetEncoding},
|
||||||
lsp_ext, Result,
|
lsp_ext, Result,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ use crate::{
|
|||||||
diagnostics::{CheckFixes, DiagnosticCollection},
|
diagnostics::{CheckFixes, DiagnosticCollection},
|
||||||
document::DocumentData,
|
document::DocumentData,
|
||||||
from_proto,
|
from_proto,
|
||||||
line_endings::{LineEndings, LineIndex},
|
line_index::{LineEndings, LineIndex},
|
||||||
main_loop::Task,
|
main_loop::Task,
|
||||||
op_queue::OpQueue,
|
op_queue::OpQueue,
|
||||||
reload::SourceRootConfig,
|
reload::SourceRootConfig,
|
||||||
|
|||||||
@@ -36,8 +36,7 @@ use crate::{
|
|||||||
diff::diff,
|
diff::diff,
|
||||||
from_proto,
|
from_proto,
|
||||||
global_state::{GlobalState, GlobalStateSnapshot},
|
global_state::{GlobalState, GlobalStateSnapshot},
|
||||||
line_endings::LineEndings,
|
line_index::{LineEndings, LineIndex},
|
||||||
line_endings::LineIndex,
|
|
||||||
lsp_ext::{self, InlayHint, InlayHintsParams},
|
lsp_ext::{self, InlayHint, InlayHintsParams},
|
||||||
lsp_utils::all_edits_are_disjoint,
|
lsp_utils::all_edits_are_disjoint,
|
||||||
to_proto, LspError, Result,
|
to_proto, LspError, Result,
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ mod from_proto;
|
|||||||
mod semantic_tokens;
|
mod semantic_tokens;
|
||||||
mod markdown;
|
mod markdown;
|
||||||
mod diagnostics;
|
mod diagnostics;
|
||||||
mod line_endings;
|
mod line_index;
|
||||||
mod request_metrics;
|
mod request_metrics;
|
||||||
mod lsp_utils;
|
mod lsp_utils;
|
||||||
mod thread_pool;
|
mod thread_pool;
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
//! Enhances `ide::LineIndex` with additional info required to convert offsets
|
||||||
|
//! into lsp positions.
|
||||||
|
//!
|
||||||
//! We maintain invariant that all internal strings use `\n` as line separator.
|
//! We maintain invariant that all internal strings use `\n` as line separator.
|
||||||
//! This module does line ending conversion and detection (so that we can
|
//! This module does line ending conversion and detection (so that we can
|
||||||
//! convert back to `\r\n` on the way out).
|
//! convert back to `\r\n` on the way out).
|
||||||
@@ -7,7 +7,7 @@ use lsp_server::Notification;
|
|||||||
use crate::{
|
use crate::{
|
||||||
from_proto,
|
from_proto,
|
||||||
global_state::GlobalState,
|
global_state::GlobalState,
|
||||||
line_endings::{LineEndings, LineIndex, OffsetEncoding},
|
line_index::{LineEndings, LineIndex, OffsetEncoding},
|
||||||
};
|
};
|
||||||
|
|
||||||
pub(crate) fn is_canceled(e: &(dyn Error + 'static)) -> bool {
|
pub(crate) fn is_canceled(e: &(dyn Error + 'static)) -> bool {
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ use serde_json::to_value;
|
|||||||
use crate::{
|
use crate::{
|
||||||
cargo_target_spec::CargoTargetSpec,
|
cargo_target_spec::CargoTargetSpec,
|
||||||
global_state::GlobalStateSnapshot,
|
global_state::GlobalStateSnapshot,
|
||||||
line_endings::{LineEndings, LineIndex, OffsetEncoding},
|
line_index::{LineEndings, LineIndex, OffsetEncoding},
|
||||||
lsp_ext, semantic_tokens, Result,
|
lsp_ext, semantic_tokens, Result,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user