We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f39e6c1 commit 2beea89Copy full SHA for 2beea89
exe/Main.hs
@@ -1,5 +1,6 @@
1
-- Copyright (c) 2019 The DAML Authors. All rights reserved.
2
-- SPDX-License-Identifier: Apache-2.0
3
+{-# LANGUAGE CPP #-}
4
{-# LANGUAGE NamedFieldPuns #-}
5
{-# LANGUAGE OverloadedStrings #-}
6
module Main(main) where
@@ -23,7 +24,11 @@ import Ide.Types (PluginDescriptor (pluginNotificat
23
24
import Language.LSP.Server as LSP
25
import Language.LSP.Types as LSP
26
import qualified Plugins
27
+#if MIN_VERSION_prettyprinter(1,7,0)
28
import Prettyprinter (Pretty (pretty), vsep)
29
+#else
30
+import Data.Text.Prettyprint.Doc (Pretty (pretty), vsep)
31
+#endif
32
33
data Log
34
= LogIdeMain IdeMain.Log
0 commit comments