Skip to content

Commit bf8ce83

Browse files
authored
Merge pull request #677 from wz1000/fix-desugarer
Restore kick (#676)
2 parents ffebc7b + c64490f commit bf8ce83

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

haskell-language-server.cabal

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ library
6767
, optparse-applicative
6868
, optparse-simple
6969
, process
70+
, shake
7071
, unordered-containers
7172

7273
ghc-options: -Wall -Wredundant-constraints -Wno-name-shadowing

src/Ide/Main.hs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ import System.FilePath
5454
import System.IO
5555
import qualified System.Log.Logger as L
5656
import System.Time.Extra
57+
import Development.Shake (action)
5758

5859
-- ---------------------------------------------------------------------
5960
-- ghcide partialhandlers
@@ -136,7 +137,7 @@ runLspMode lspArgs@LspArguments{..} idePlugins = do
136137
-- , optCheckProject = checkProject config
137138
}
138139
debouncer <- newAsyncDebouncer
139-
initialise caps (mainRule >> pluginRules plugins)
140+
initialise caps (mainRule >> pluginRules plugins >> action kick)
140141
getLspId event wProg wIndefProg hlsLogger debouncer options vfs
141142
else do
142143
-- GHC produces messages with UTF8 in them, so make sure the terminal doesn't error

0 commit comments

Comments
 (0)