Files
zed/extensions/zig/languages/zig/outline.scm
Marshall Bowers ff685b299d Extract Zig support into an extension (#9893)
This PR extracts Zig support into an extension and removes the built-in
Zig support from Zed.

There's a small workaround necessary in order for us to set the file
permissions on the `zls` binary so that it can be run. Eventually we'll
want to build this into the extension API, but for now we're just
hard-coding it on the host side.

Release Notes:

- Removed built-in support for Zig, in favor of making it available as
an extension. The Zig extension will be suggested for download when you
open a `.zig` file.
2024-03-27 20:56:30 -04:00

25 lines
357 B
Scheme

(Decl (
FnProto(
"fn" @context
function: (_) @name
)
)
) @item
(
Decl (
VarDecl (
"const"
variable_type_function: (_) @name
(ErrorUnionExpr) @context
)
)
) @item
(
TestDecl (
"test" @context
(STRINGLITERALSINGLE)? @name
)
) @item