mirror of
https://github.com/Myriad-Dreamin/tinymist.git
synced 2025-07-19 10:45:02 +00:00
docs: refactor and documenting analyzer code (#44)
* dev: refactor and documenting analyzer code * dev: documenting some lsp api
This commit is contained in:
parent
da7028f59c
commit
2d2857e6f3
24 changed files with 381 additions and 259 deletions
|
@ -2,8 +2,13 @@ use lsp_types::Command;
|
|||
|
||||
use crate::prelude::*;
|
||||
|
||||
/// The [`textDocument/codeLens`] request is sent from the client to the server
|
||||
/// to compute code lenses for a given text document.
|
||||
///
|
||||
/// [`textDocument/codeLens`]: https://microsoft.github.io/language-server-protocol/specification#textDocument_codeLens
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct CodeLensRequest {
|
||||
/// The path of the document to request for.
|
||||
pub path: PathBuf,
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue