mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-30 05:45:24 +00:00
Rename document module to text_document (#11571)
This commit is contained in:
parent
e28e737296
commit
adc0a5d126
2 changed files with 3 additions and 3 deletions
|
@ -1,18 +1,18 @@
|
||||||
//! Types and utilities for working with text, modifying source files, and `Ruff <-> LSP` type conversion.
|
//! Types and utilities for working with text, modifying source files, and `Ruff <-> LSP` type conversion.
|
||||||
|
|
||||||
mod document;
|
|
||||||
mod notebook;
|
mod notebook;
|
||||||
mod range;
|
mod range;
|
||||||
mod replacement;
|
mod replacement;
|
||||||
|
mod text_document;
|
||||||
|
|
||||||
use std::{collections::HashMap, path::PathBuf};
|
use std::{collections::HashMap, path::PathBuf};
|
||||||
|
|
||||||
pub(crate) use document::DocumentVersion;
|
|
||||||
pub use document::TextDocument;
|
|
||||||
use lsp_types::PositionEncodingKind;
|
use lsp_types::PositionEncodingKind;
|
||||||
pub(crate) use notebook::NotebookDocument;
|
pub(crate) use notebook::NotebookDocument;
|
||||||
pub(crate) use range::{NotebookRange, RangeExt, ToRangeExt};
|
pub(crate) use range::{NotebookRange, RangeExt, ToRangeExt};
|
||||||
pub(crate) use replacement::Replacement;
|
pub(crate) use replacement::Replacement;
|
||||||
|
pub(crate) use text_document::DocumentVersion;
|
||||||
|
pub use text_document::TextDocument;
|
||||||
|
|
||||||
use crate::{fix::Fixes, session::ResolvedClientCapabilities};
|
use crate::{fix::Fixes, session::ResolvedClientCapabilities};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue