Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid package-qualified import in Fourmolu plugin #1848

Merged
merged 4 commits into from
May 26, 2021
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Ailrun marked this conversation as resolved.
Show resolved Hide resolved
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