Skip to content

Commit

Permalink
Avoid package-qualified import in Fourmolu plugin (#1848)
Browse files Browse the repository at this point in the history
* Avoid package-qualified import in Fourmolu plugin

* Avoid package-qualified import in Ormolu plugin

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
  • Loading branch information
georgefst and mergify[bot] committed May 26, 2021
1 parent 023cff7 commit 401cdef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions plugins/hls-fourmolu-plugin/src/Ide/Plugin/Fourmolu.hs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{-# LANGUAGE DisambiguateRecordFields #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PackageImports #-}
{-# LANGUAGE TypeApplications #-}

module Ide.Plugin.Fourmolu (
Expand All @@ -25,7 +24,7 @@ import Ide.Types
import Language.LSP.Server hiding (defaultConfig)
import Language.LSP.Types
import Language.LSP.Types.Lens
import "fourmolu" Ormolu
import Ormolu
import System.FilePath

-- ---------------------------------------------------------------------
Expand Down
3 changes: 1 addition & 2 deletions plugins/hls-ormolu-plugin/src/Ide/Plugin/Ormolu.hs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PackageImports #-}
{-# LANGUAGE TypeApplications #-}

module Ide.Plugin.Ormolu
Expand All @@ -21,7 +20,7 @@ import Ide.PluginUtils
import Ide.Types
import Language.LSP.Server hiding (defaultConfig)
import Language.LSP.Types
import "ormolu" Ormolu
import Ormolu
import System.FilePath (takeFileName)

-- ---------------------------------------------------------------------
Expand Down

0 comments on commit 401cdef

Please sign in to comment.