Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
GnoCiYeH committed Sep 26, 2024
1 parent ee9bf0f commit bda11e3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions held_core/src/control.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions held_core/src/theme.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

2 changes: 1 addition & 1 deletion src/util/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pub mod distance;
pub mod line_iterator;
pub mod position;
pub mod range;
pub mod line_iterator;
2 changes: 1 addition & 1 deletion src/view/render/lexeme_mapper.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ pub enum MappedLexeme<'a> {

/// 词素映射器
/// 在渲染时会优先按照词素映射器映射的风格进行映射
///
///
/// 例:按照正则表达式搜索文本时,聚焦正则匹配的部分
pub trait LexemeMapper {
fn map<'x>(&'x mut self, lexeme: &str, position: Position) -> Vec<MappedLexeme<'x>>;
Expand Down

0 comments on commit bda11e3

Please sign in to comment.