diff --git a/plugins/hls-class-plugin/src/Ide/Plugin/Class/CodeLens.hs b/plugins/hls-class-plugin/src/Ide/Plugin/Class/CodeLens.hs index 32e9e349e8..5ea74fe780 100644 --- a/plugins/hls-class-plugin/src/Ide/Plugin/Class/CodeLens.hs +++ b/plugins/hls-class-plugin/src/Ide/Plugin/Class/CodeLens.hs @@ -27,7 +27,7 @@ codeLens state plId CodeLensParams{..} = do enabled <- enableTypeLens <$> getCompletionsConfig plId if not enabled then pure $ pure $ List [] else pluginResponse $ do nfp <- getNormalizedFilePath plId uri - tmr <- handleMaybeM "Unable to typecheak" + tmr <- handleMaybeM "Unable to typecheck" $ liftIO $ runAction "classplugin.TypeCheck" state $ use TypeCheck nfp