ackerman 0.1.1

Yggdrasil Shared Structure
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use super::*;
use lsp_types::Command;

pub fn name_missing() -> CodeLens {
    let cmd = Command::new("Grammar name missing".to_string(), "ygg.insert_grammar".to_string(), None);

    CodeLens {
        range: Default::default(),
        command: Some(cmd),
        data: Some(Value::String(String::from("Grammar name not found"))),
    }
}