Skip to main content

extract_annotation_from_line

Function extract_annotation_from_line 

Source
pub fn extract_annotation_from_line(line: &str) -> Option<String>
Expand description

Extract a shine-dest: annotation from a single comment line.

Recognises # shine-dest: (shell/TOML/INI) and " shine-dest: (VimScript).