diff options
Diffstat (limited to 'src/builtins.zig')
| -rw-r--r-- | src/builtins.zig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/builtins.zig b/src/builtins.zig index c2be41a8..d203cd9e 100644 --- a/src/builtins.zig +++ b/src/builtins.zig @@ -1970,6 +1970,13 @@ pub const WsDiagnostics = struct { } }; +/// Run the file's language indexer at its project root, writing the index.scip the language words ask first. +pub const Index = struct { + pub fn run(c: Ctx) void { + c.p.lspRequest(c.id, .index, ""); + } +}; + /// Show outermost callers first, with signatures and call sites (gc). pub const Callstack = struct { pub fn run(c: Ctx) void { |
