Expand description
LSP integration plugin for reovim.
This plugin provides Language Server Protocol support:
- Document synchronization (
didOpen,didChange,didClose) - Diagnostics display (errors, warnings)
§Architecture
The plugin uses the saturator pattern for non-blocking LSP I/O:
LspSaturatorruns in a background tokio taskDiagnosticCacheusesArcSwapfor lock-free reads- Event handlers schedule syncs with debouncing
LspRenderStagesends content to the saturator when debounce elapsed
Modules§
- command_
id - Command IDs for LSP commands
Structs§
- Document
Manager - Manages document state for all open buffers.
- Document
State - State for a single document being synchronized with the LSP server.
- LspGoto
Definition - Event emitted when user triggers goto definition
- LspGoto
Definition Command - Command: Go to definition of symbol under cursor
- LspGoto
References - Event emitted when user triggers goto references
- LspGoto
References Command - Command: Find all references to symbol under cursor
- LspHover
Dismiss - Event emitted to dismiss hover popup
- LspLog
Open - Event emitted to open the LSP log file
- LspManager
- LSP manager state.
- LspPlugin
- LSP integration plugin.
- LspRender
Stage - LSP render stage - handles document synchronization.
- LspShow
Hover - Event emitted when user triggers hover
- LspShow
Hover Command - Command: Show hover documentation for symbol under cursor
- Shared
LspManager - Thread-safe wrapper for LSP state.