Skip to content

Commit 091cf2c

Browse files
committed
Remove unnecessary pluginId setting
1 parent 9a742e2 commit 091cf2c

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

plugins/default/src/Ide/Plugin/Eval.hs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,7 @@ import Type.Reflection (Typeable)
8585
descriptor :: PluginId -> PluginDescriptor
8686
descriptor plId =
8787
(defaultPluginDescriptor plId)
88-
{ pluginId = plId,
89-
pluginCodeLensProvider = Just provider,
88+
{ pluginCodeLensProvider = Just provider,
9089
pluginCommands = [evalCommand]
9190
}
9291

plugins/default/src/Ide/Plugin/ModuleName.hs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,7 @@ import System.FilePath (
9595
descriptor :: PluginId -> PluginDescriptor
9696
descriptor plId =
9797
(defaultPluginDescriptor plId)
98-
{ pluginId = plId
99-
, pluginCodeLensProvider = Just codeLens
98+
{ pluginCodeLensProvider = Just codeLens
10099
, pluginCommands = [PluginCommand editCommandName editCommandName command]
101100
}
102101

0 commit comments

Comments
 (0)