File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ import Language.LSP.Types
37
37
import qualified Language.LSP.Types as J
38
38
import Language.LSP.Types.Capabilities
39
39
40
+ import Data.Containers.ListUtils (nubOrdOn )
40
41
import Ide.Plugin.Config
41
42
import Ide.Plugin.Properties
42
43
import Language.LSP.Server
@@ -143,7 +144,8 @@ clientSupportsDocumentChanges caps =
143
144
-- ---------------------------------------------------------------------
144
145
145
146
pluginDescToIdePlugins :: [PluginDescriptor ideState ] -> IdePlugins ideState
146
- pluginDescToIdePlugins plugins = IdePlugins $ map (\ p -> (pluginId p, p)) plugins
147
+ pluginDescToIdePlugins plugins =
148
+ IdePlugins $ map (\ p -> (pluginId p, p)) $ nubOrdOn pluginId plugins
147
149
148
150
149
151
-- ---------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments