Skip to content

Commit 572c81c

Browse files
committed
fix: check for proper patterns for persisted module attributes
1 parent 769c058 commit 572c81c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/elixir_sense/providers/plugins/module_store.ex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,11 @@ defmodule ElixirSense.Providers.Plugins.ModuleStore do
5454
ElixirSense.Plugin in behaviours or ElixirLS.LanguageServer.Plugin in behaviours or
5555
ElixirSense.Providers.Plugin in behaviours
5656

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

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

6363
_ ->
6464
false

0 commit comments

Comments
 (0)