#![doc = include_str!("readme.md")]
use oak_core::errors::ParseResult;
use oak_highlight::{HighlightResult, Highlighter, themes::Theme};
pub struct SmalltalkHighlighter;
impl SmalltalkHighlighter {
pub fn new() -> Self {
Self
}
}
impl Default for SmalltalkHighlighter {
fn default() -> Self {
Self::new()
}
}
impl Highlighter for SmalltalkHighlighter {
fn highlight<'a>(&self, source: &'a str, _language: &str, _theme: Theme) -> ParseResult<HighlightResult<'a>> {
Ok(HighlightResult { segments: Vec::new(), source: std::borrow::Cow::Borrowed(source) })
}
}