Skip to content

Commit e20a3f4

Browse files
committed
apply elixir_sense fixes
1 parent 271a8ff commit e20a3f4

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

apps/language_server/lib/language_server/providers/plugins/module_store.ex

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,14 @@ defmodule ElixirLS.LanguageServer.Plugins.ModuleStore do
5151
module.module_info(:attributes)
5252
|> Enum.any?(fn
5353
{:behaviour, behaviours} when is_list(behaviours) ->
54-
ElixirSense.Plugin in behaviours or ElixirLS.LanguageServer.Plugin in behaviours
54+
ElixirSense.Plugin in behaviours or ElixirLS.LanguageServer.Plugin in behaviours or
55+
ElixirSense.Providers.Plugin in behaviours
5556

56-
{:is_elixir_sense_plugin, true} ->
57-
true
57+
{:is_elixir_sense_plugin, value} ->
58+
true in List.wrap(value)
5859

59-
{:is_elixir_ls_plugin, true} ->
60-
true
60+
{:is_elixir_ls_plugin, value} ->
61+
true in List.wrap(value)
6162

6263
_ ->
6364
false

0 commit comments

Comments
 (0)