@@ -221,7 +221,7 @@ data Options =
221
221
-- | The characters that trigger completion automatically.
222
222
, completionTriggerCharacters :: Maybe [Char ]
223
223
-- | The list of all possible characters that commit a completion. This field can be used
224
- -- if clients don't support individual commmit characters per completion item. See
224
+ -- if clients don't support individual commit characters per completion item. See
225
225
-- `_commitCharactersSupport`.
226
226
, completionAllCommitCharacters :: Maybe [Char ]
227
227
-- | The characters that trigger signature help automatically.
@@ -289,12 +289,12 @@ data ServerDefinition config = forall m a.
289
289
-- ^ Called *after* receiving the @initialize@ request and *before*
290
290
-- returning the response. This callback will be invoked to offer the
291
291
-- language server implementation the chance to create any processes or
292
- -- start new threads that may be necesary for the server lifecycle. It can
292
+ -- start new threads that may be necessary for the server lifecycle. It can
293
293
-- also return an error in the initialization if necessary.
294
294
, staticHandlers :: Handlers m
295
295
-- ^ Handlers for any methods you want to statically support.
296
296
-- The handlers here cannot be unregistered during the server's lifetime
297
- -- and will be regsitered statically in the initialize request.
297
+ -- and will be registered statically in the initialize request.
298
298
, interpretHandler :: a -> (m <~> IO )
299
299
-- ^ How to run the handlers in your own monad of choice, @m@.
300
300
-- It is passed the result of 'doInitialize', so typically you will want
@@ -610,7 +610,7 @@ withProgressBase indefinite title cancellable f = do
610
610
_ <- sendRequest SWindowWorkDoneProgressCreate
611
611
(WorkDoneProgressCreateParams progId) $ \ res -> do
612
612
case res of
613
- -- An error ocurred when the client was setting it up
613
+ -- An error occurred when the client was setting it up
614
614
-- No need to do anything then, as per the spec
615
615
Left _err -> pure ()
616
616
Right Empty -> pure ()
0 commit comments