Rope-port umbrella plan (docs/features/refactor) + TODO.md §8; M1 ships vfmt_core::filelist (-f nesting with cycle + 256-depth guard, +incdir+/ +define+ recorded, env vars, warnings not errors), the vfmt.toml filelist key, the server scope ladder (filelist > workspace walk > open file's directory when rootless) and the vfmt.filelist VS Code setting. Co-Authored-By: Claude Fable 5 <[email protected]>
18 lines
830 B
Rust
18 lines
830 B
Rust
//! The parts of vfmt that decide *which* files are processed and *with what
|
|
//! settings*, shared by the `vfmt` CLI and the `vfmt-server` language server.
|
|
//!
|
|
//! `config` and `walk` were lifted out of `crates/vfmt` unchanged so the two
|
|
//! front ends cannot silently disagree: an editor's format-on-save must find
|
|
//! the same `vfmt.toml` and skip the same files as CI's `vfmt --check`.
|
|
//! `cache` answers the third question of the same family — whether a file
|
|
//! needs to be processed at all, and `filelist` answers the first one the way
|
|
//! an EDA project already does, from a `.f` file. See
|
|
//! `docs/features/vfmt-core-lift/README.md`, and
|
|
//! `docs/features/{config-discovery,parallel-files,format-cache,filelist}/README.md`
|
|
//! for the rules themselves.
|
|
|
|
pub mod cache;
|
|
pub mod config;
|
|
pub mod filelist;
|
|
pub mod walk;
|