lsp_doc 0.2.0

Embed markdown/text files into Rust documentation attributes for LSP hover/preview
Documentation
1
2
3
4
5
6
7
8
9
10
use lsp_doc::lsp_doc;

fn main() {
    say_hello();
}

#[lsp_doc("examples/hello.md")]
pub fn say_hello() {
    println!("Hello, world!");
}