diff --git a/helix-core/src/comment.rs b/helix-core/src/comment.rs index f0b98c5a2..8cfd8b42f 100644 --- a/helix-core/src/comment.rs +++ b/helix-core/src/comment.rs @@ -46,13 +46,13 @@ pub fn get_comment_token( ) } +/// Find the injection with the most tightly encompassing range. pub fn get_injected_tokens( loader: &syntax::Loader, syntax: Option<&Syntax>, start: u32, end: u32, ) -> (Option>, Option>) { - // Find the injection with the most tightly encompassing range. syntax .and_then(|syntax| { syntax