Skip to content

Commit

Permalink
Correct a typo in ConfigUtils.hs (#1900)
Browse files Browse the repository at this point in the history
* Correct a typo in ConfigUtils.hs

* Correct a typo in Splice.hs
  • Loading branch information
felixonmars authored Jun 7, 2021
1 parent 861c8bf commit 0cc89d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hls-plugin-api/src/Ide/Plugin/ConfigUtils.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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 $
Expand Down
2 changes: 1 addition & 1 deletion plugins/hls-splice-plugin/src/Ide/Plugin/Splice.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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 $
Expand Down

0 comments on commit 0cc89d2

Please sign in to comment.