summaryrefslogtreecommitdiff
path: root/core/builtins.zig
diff options
context:
space:
mode:
Diffstat (limited to 'core/builtins.zig')
-rw-r--r--core/builtins.zig2
1 files changed, 0 insertions, 2 deletions
diff --git a/core/builtins.zig b/core/builtins.zig
index 39c06206..991f8a76 100644
--- a/core/builtins.zig
+++ b/core/builtins.zig
@@ -698,11 +698,9 @@ pub const Fonts = struct {
/// Show the declarations enclosing the top row at the pane's head, on or off.
pub const TreeContext = struct {
- pub const enabled = pardes.syntax.enabled;
pub const takes_arg = true;
pub fn run(c: Ctx) void {
- if (comptime !enabled) unreachable;
if (!panes.File.supportsContext(c.pane)) return c.p.reportFailure(c.id, "TreeContext: only a source file the parser knows has context");
const file = &c.pane.file.?;
const arg = std.mem.trim(u8, c.arg orelse "", " \t\r\n");