From 7723ec051aac44ccce5b58c8468790b2375a071e Mon Sep 17 00:00:00 2001 From: Felix Yan Date: Mon, 7 Jun 2021 06:54:27 +0800 Subject: [PATCH 1/2] Correct a typo in ConfigUtils.hs --- hls-plugin-api/src/Ide/Plugin/ConfigUtils.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hls-plugin-api/src/Ide/Plugin/ConfigUtils.hs b/hls-plugin-api/src/Ide/Plugin/ConfigUtils.hs index 0996c0c92a..b1af283df8 100644 --- a/hls-plugin-api/src/Ide/Plugin/ConfigUtils.hs +++ b/hls-plugin-api/src/Ide/Plugin/ConfigUtils.hs @@ -22,7 +22,7 @@ import Language.LSP.Types -- since diagnostics emit in arbitrary shake rules -- we don't know -- whether a plugin is capable of producing diagnostics. --- | Generates a defalut 'Config', but remains only effective items +-- | Generates a default 'Config', but remains only effective items pluginsToDefaultConfig :: IdePlugins a -> A.Value pluginsToDefaultConfig IdePlugins {..} = A.Object $ From 8c92ab08ae9fca9a0fdf0dfe6ed4ea4d07170807 Mon Sep 17 00:00:00 2001 From: Felix Yan Date: Mon, 7 Jun 2021 07:07:18 +0800 Subject: [PATCH 2/2] Correct a typo in Splice.hs --- plugins/hls-splice-plugin/src/Ide/Plugin/Splice.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/hls-splice-plugin/src/Ide/Plugin/Splice.hs b/plugins/hls-splice-plugin/src/Ide/Plugin/Splice.hs index a56d896a06..8450082994 100644 --- a/plugins/hls-splice-plugin/src/Ide/Plugin/Splice.hs +++ b/plugins/hls-splice-plugin/src/Ide/Plugin/Splice.hs @@ -101,7 +101,7 @@ expandTHSplice _eStyle ideState params@ExpandSpliceParams {..} = do reportEditor MtWarning [ "Expansion in type-chcking phase failed;" - , "trying to expand manually, but note taht it is less rigorous." + , "trying to expand manually, but note that it is less rigorous." ] pm <- liftIO $