File tree Expand file tree Collapse file tree 1 file changed +19
-16
lines changed
apps/language_server/lib/language_server/providers/signature_help Expand file tree Collapse file tree 1 file changed +19
-16
lines changed Original file line number Diff line number Diff line change @@ -138,23 +138,26 @@ defmodule ElixirLS.LanguageServer.Providers.SignatureHelp.Signature do
138
138
}
139
139
140
140
nil ->
141
- category = case metadata . mods_funs_to_positions [ { mod , fun , arity } ] do
142
- nil ->
143
- if Code . ensure_loaded? ( mod ) and macro_exported? ( mod , fun , arity ) do
141
+ category =
142
+ case metadata . mods_funs_to_positions [ { mod , fun , arity } ] do
143
+ nil ->
144
+ if Code . ensure_loaded? ( mod ) and macro_exported? ( mod , fun , arity ) do
144
145
:macro
145
- else
146
- :function
147
- end
148
- % State.ModFunInfo { } = fun_info ->
149
- State.ModFunInfo . get_category ( fun_info )
150
- end
151
-
152
- { spec , doc , _ } = Metadata . get_doc_spec_from_behaviour (
153
- behaviour ,
154
- fun ,
155
- arity ,
156
- category
157
- )
146
+ else
147
+ :function
148
+ end
149
+
150
+ % State.ModFunInfo { } = fun_info ->
151
+ State.ModFunInfo . get_category ( fun_info )
152
+ end
153
+
154
+ { spec , doc , _ } =
155
+ Metadata . get_doc_spec_from_behaviour (
156
+ behaviour ,
157
+ fun ,
158
+ arity ,
159
+ category
160
+ )
158
161
159
162
% {
160
163
signature
You can’t perform that action at this time.
0 commit comments