vim-plugin-metadata 0.2.1

Parse and analyze your vim plugins, from Rust!
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#[derive(Debug, PartialEq)]
pub enum VimNode {
    StandaloneDocComment(String),
    Function { name: String, doc: Option<String> },
}

#[derive(Debug, PartialEq)]
pub struct VimPluginSection {
    pub name: String,
    pub nodes: Vec<VimNode>,
}

#[derive(Debug, PartialEq)]
pub struct VimPlugin {
    pub content: Vec<VimPluginSection>,
}