Skip to content

Commit 2beea89

Browse files
committed
Fix another one
1 parent f39e6c1 commit 2beea89

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

exe/Main.hs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
-- Copyright (c) 2019 The DAML Authors. All rights reserved.
22
-- SPDX-License-Identifier: Apache-2.0
3+
{-# LANGUAGE CPP #-}
34
{-# LANGUAGE NamedFieldPuns #-}
45
{-# LANGUAGE OverloadedStrings #-}
56
module Main(main) where
@@ -23,7 +24,11 @@ import Ide.Types (PluginDescriptor (pluginNotificat
2324
import Language.LSP.Server as LSP
2425
import Language.LSP.Types as LSP
2526
import qualified Plugins
27+
#if MIN_VERSION_prettyprinter(1,7,0)
2628
import Prettyprinter (Pretty (pretty), vsep)
29+
#else
30+
import Data.Text.Prettyprint.Doc (Pretty (pretty), vsep)
31+
#endif
2732

2833
data Log
2934
= LogIdeMain IdeMain.Log

0 commit comments

Comments
 (0)