mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-15 06:40:17 +00:00
b0fb02e4be
This PR extracts Erlang support into an extension and removes the built-in Erlang support from Zed. Tested using a Nix shell: ``` nix-shell -p erlang-ls ``` Release Notes: - Removed built-in support for Erlang, in favor of making it available as an extension. The Erlang extension will be suggested for download when you open a `.erl` or `.hrl` file.
31 lines
536 B
Scheme
31 lines
536 B
Scheme
(module_attribute
|
|
"module" @context
|
|
name: (_) @name) @item
|
|
|
|
(behaviour_attribute
|
|
"behaviour" @context
|
|
(atom) @name) @item
|
|
|
|
(type_alias
|
|
"type" @context
|
|
name: (_) @name) @item
|
|
|
|
(opaque
|
|
"opaque" @context
|
|
name: (_) @name) @item
|
|
|
|
(pp_define
|
|
"define" @context
|
|
lhs: (_) @name) @item
|
|
|
|
(record_decl
|
|
"record" @context
|
|
name: (_) @name) @item
|
|
|
|
(callback
|
|
"callback" @context
|
|
fun: (_) @function ( (_) @name)) @item
|
|
|
|
(fun_decl (function_clause
|
|
name: (_) @name
|
|
args: (_) @context)) @item
|