Expand description
Re-exports§
pub use client::LspClient;pub use error::LspError;pub use lawyer::Lawyer;pub use mock::MockLawyer;pub use no_op::NoOpLawyer;pub use types::DefinitionLocation;pub use plugin::all_plugins;pub use plugin::plugin_for_extension;pub use plugin::plugin_for_language;pub use plugin::GoPlugin;pub use plugin::LanguagePlugin;pub use plugin::LspCandidate;pub use plugin::PythonPlugin;pub use plugin::RustPlugin;pub use plugin::TypeScriptPlugin;
Modules§
- client
- Client module.
LspClient— the productionLawyerimplementation. - error
- Module for error handling and definitions. Error types for LSP operations.
- lawyer
- Module for legal functionalities.
The
lawyermodule providing legal-related functionality. TheLawyertrait — testability boundary for LSP operations. - mock
- Mock implementation for testing.
Test double for the
Lawyertrait. - no_op
- The
no_opmodule provides no-operation stub implementations.NoOpLawyer— graceful degradation when no LSP is configured. - plugin
- LT-2: Language Plugin trait — per-language behaviour abstraction. LT-2: Language Plugin Trait — per-language behavior abstraction.
- types
- Module containing type definitions for the language server protocol.
Result types returned by the
Lawyertrait.