Searched refs:detect_syntax (Results 1 – 1 of 1) sorted by relevance
46 if let Some(syntax) = self.detect_syntax(source) { in start_highlighter_state()84 fn detect_syntax(&self, contents: &dyn SpanContents<'_>) -> Option<&syntect::SyntaxReference> { in detect_syntax() method