From 599dd82f96b9d091aae78300aa6c3fbc81f9eb69 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Sun, 9 Aug 2026 06:54:27 -0300 Subject: review pass: fix the eaten Tab, drop the duplicated code, cover the gaps --- src/lsp/lsp.zig | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/lsp/lsp.zig') diff --git a/src/lsp/lsp.zig b/src/lsp/lsp.zig index 0ce70869..a4489552 100644 --- a/src/lsp/lsp.zig +++ b/src/lsp/lsp.zig @@ -184,9 +184,7 @@ pub const supports: std.EnumSet(Kind) = backend.supports; /// diverts to `completion` after a `.`, so in a README — or in any pane the /// backend would refuse — it has to indent instead. The core asks rather than /// knowing, so the list of extensions stays the backend's business. -pub fn speaks(path: []const u8) bool { - return backend.speaks(path); -} +pub const speaks = backend.speaks; /// Name shown by the harness and in `SPC ?`. Each implementation renames it. pub const backend_name = "zls-inproc"; -- cgit v1.3