summaryrefslogtreecommitdiff
path: root/src/config.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.zig')
-rw-r--r--src/config.zig8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/config.zig b/src/config.zig
index 8d186435..cbe75dea 100644
--- a/src/config.zig
+++ b/src/config.zig
@@ -257,6 +257,10 @@ pub const leader_path = paths: {
table.set(.Hexdump, null);
table.set(.Gpio, null);
}
+ // The 9P client word. Takes a dial AND a path, so it has no leader path
+ // for the reason the three above have none, twice over. Its gate is the
+ // presence of unix sockets, which is narrower than `hosted`.
+ if (builtins.@"9p".enabled) table.set(.@"9p", null);
// The pane-local PDF commands exist only in MuPDF builds through their
// explicit registry availability, so name their paths inside the same
// comptime branch. PdfTint/PdfFit retain their display slots and
@@ -816,6 +820,10 @@ pub const pdf_sections_buffer = "+PdfSections";
pub const hover_buffer = "+Hover";
pub const lsp_buffer = "+Lsp";
pub const changelog_buffer = "+Changelog";
+/// What `9p <dial> <path>` opens a remote file into. NOT the remote path: an
+/// output buffer's name comes off the command that filled it, and the path is
+/// the command's ARGUMENT, which is what makes two remote files two panes.
+pub const ninep_buffer = "+9p";
/// The two memory windows a bare-metal build's Peek and Hexdump render. Absent
/// from every hosted build along with the builtins that name them.
pub const peek_buffer = "+Peek";