Add missing whitespace
33af3386e517ae6cfb69b6669faa52ab87cee34b
1 parent
e98281d3
crates/diff/src/builtins.rs
+1 -0
| 210 | 210 | } |
|
| 211 | 211 | } |
|
| 212 | 212 | Ok(()) |
|
| 213 | 213 | } |
|
| 214 | 214 | } |
|
| 215 | + | ||
| 215 | 216 | /// Loads valid user-defined TextMate grammars from the configuration directory. |
|
| 216 | 217 | fn custom_grammars() -> Vec<syntax::Grammar> { |
|
| 217 | 218 | let Some(directory) = config_dir().map(|directory| directory.join(CUSTOM_SYNTAX_DIR)) else { |
|
| 218 | 219 | return Vec::new(); |
|
| 219 | 220 | }; |
script\n\
+0 -0
crates/tui-core/src/table.rs
+1 -0
| 67 | 67 | spacing: 3, |
|
| 68 | 68 | ..Self::default() |
|
| 69 | 69 | } |
|
| 70 | 70 | } |
|
| 71 | 71 | } |
|
| 72 | + | ||
| 72 | 73 | /// Responsive behavior for one table column. |
|
| 73 | 74 | #[derive(Clone, Copy, Debug, Default, Eq, PartialEq)] |
|
| 74 | 75 | pub struct Column { |
|
| 75 | 76 | /// Relative share of horizontal space assigned to this column. |
|
| 76 | 77 | flex: usize, |
crates/tui-widgets/src/panel.rs
+1 -0
| 47 | 47 | visible: true, |
|
| 48 | 48 | kind: PanelNodeKind::Leaf, |
|
| 49 | 49 | } |
|
| 50 | 50 | } |
|
| 51 | 51 | } |
|
| 52 | + | ||
| 52 | 53 | /// Layout role for a panel node. |
|
| 53 | 54 | #[derive(Clone, Debug)] |
|
| 54 | 55 | enum PanelNodeKind { |
|
| 55 | 56 | /// Content leaf. |
|
| 56 | 57 | Leaf, |