Add SyntaxEditor abstraction using optional synect feature

This commit is contained in:
Jeremy Soller 2022-11-09 10:09:42 -07:00
parent ecf61a93b1
commit 1663bfc96c
No known key found for this signature in database
GPG key ID: 87F211AF2BE4C2FE
7 changed files with 283 additions and 167 deletions

View file

@ -86,3 +86,8 @@ mod shape;
pub use self::swash::*;
#[cfg(feature = "swash")]
mod swash;
#[cfg(feature = "syntect")]
pub use self::syntect::*;
#[cfg(feature = "syntect")]
mod syntect;