Skip to content

Commit 5e0e798

Browse files
committed
Fix comment out of place
1 parent 0722bfd commit 5e0e798

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Ide/Plugin.hs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -332,9 +332,6 @@ makeExecuteCommands ecs lf ide = wrapUnhandledExceptions $ do
332332
-}
333333

334334
-- -----------------------------------------------------------
335-
336-
-- | Runs a plugin command given a PluginId, CommandId and
337-
-- arguments in the form of a JSON object.
338335
wrapUnhandledExceptions ::
339336
(a -> IO (Either ResponseError J.Value, Maybe b)) ->
340337
a -> IO (Either ResponseError J.Value, Maybe b)
@@ -343,6 +340,9 @@ wrapUnhandledExceptions action input =
343340
let resp = ResponseError InternalError (T.pack $ show e) Nothing
344341
return (Left resp, Nothing)
345342

343+
344+
-- | Runs a plugin command given a PluginId, CommandId and
345+
-- arguments in the form of a JSON object.
346346
runPluginCommand :: Map.Map PluginId [PluginCommand]
347347
-> LSP.LspFuncs Config
348348
-> IdeState

0 commit comments

Comments
 (0)