@@ -221,7 +221,7 @@ data Options =
221221 -- | The characters that trigger completion automatically.
222222 , completionTriggerCharacters :: Maybe [Char ]
223223 -- | 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
225225 -- `_commitCharactersSupport`.
226226 , completionAllCommitCharacters :: Maybe [Char ]
227227 -- | The characters that trigger signature help automatically.
@@ -289,12 +289,12 @@ data ServerDefinition config = forall m a.
289289 -- ^ Called *after* receiving the @initialize@ request and *before*
290290 -- returning the response. This callback will be invoked to offer the
291291 -- 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
293293 -- also return an error in the initialization if necessary.
294294 , staticHandlers :: Handlers m
295295 -- ^ Handlers for any methods you want to statically support.
296296 -- 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.
298298 , interpretHandler :: a -> (m <~> IO )
299299 -- ^ How to run the handlers in your own monad of choice, @m@.
300300 -- It is passed the result of 'doInitialize', so typically you will want
@@ -610,7 +610,7 @@ withProgressBase indefinite title cancellable f = do
610610 _ <- sendRequest SWindowWorkDoneProgressCreate
611611 (WorkDoneProgressCreateParams progId) $ \ res -> do
612612 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
614614 -- No need to do anything then, as per the spec
615615 Left _err -> pure ()
616616 Right Empty -> pure ()
0 commit comments