diff options
Diffstat (limited to 'src/config.zig')
| -rw-r--r-- | src/config.zig | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/config.zig b/src/config.zig index a14ed797..f8a3767b 100644 --- a/src/config.zig +++ b/src/config.zig @@ -164,13 +164,14 @@ pub const leader_path = paths: { table.set(.FontSel, "tf"); table.set(.Font, null); } - // The PDF toggles exist only in MuPDF builds (their run declarations - // deliberately change shape when the feature is off), so name their paths - // through the same comptime branch rather than making feature-off enums - // mention them. `ti` was the unused slot in the display-toggle group; - // PdfFit's established `tz` stays unchanged. + // The pane-local PDF commands exist only in MuPDF builds (their run + // declarations deliberately change shape when the feature is off), so + // name their paths through the same comptime branch rather than making + // feature-off enums mention them. PdfTint/PdfFit retain their display + // slots and PdfSections takes the mnemonic `s` between them. if (pardes.pdf_enabled) { table.set(.PdfTint, "ti"); + table.set(.PdfSections, "ts"); table.set(.PdfFit, "tz"); } // ...and the property EnumArray.init used to give for free: every builtin @@ -591,6 +592,7 @@ pub const help_buffer = "+Help"; pub const jumps_buffer = "+Jumps"; pub const themes_buffer = "+Themes"; pub const fonts_buffer = "+Fonts"; +pub const pdf_sections_buffer = "+PdfSections"; pub const hover_buffer = "+Hover"; pub const lsp_buffer = "+Lsp"; |
