Skip to content

Commit

Permalink
Fix comment out of place
Browse files Browse the repository at this point in the history
  • Loading branch information
pepeiborra committed Aug 1, 2020
1 parent 0722bfd commit 5e0e798
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Ide/Plugin.hs
Original file line number Diff line number Diff line change
Expand Up @@ -332,9 +332,6 @@ makeExecuteCommands ecs lf ide = wrapUnhandledExceptions $ do
-}

-- -----------------------------------------------------------

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


-- | Runs a plugin command given a PluginId, CommandId and
-- arguments in the form of a JSON object.
runPluginCommand :: Map.Map PluginId [PluginCommand]
-> LSP.LspFuncs Config
-> IdeState
Expand Down

0 comments on commit 5e0e798

Please sign in to comment.