Skip to content

Commit

Permalink
Merge pull request #677 from wz1000/fix-desugarer
Browse files Browse the repository at this point in the history
Restore kick (#676)
  • Loading branch information
jneira authored Dec 17, 2020
2 parents ffebc7b + c64490f commit bf8ce83
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions haskell-language-server.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ library
, optparse-applicative
, optparse-simple
, process
, shake
, unordered-containers

ghc-options: -Wall -Wredundant-constraints -Wno-name-shadowing
Expand Down
3 changes: 2 additions & 1 deletion src/Ide/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ import System.FilePath
import System.IO
import qualified System.Log.Logger as L
import System.Time.Extra
import Development.Shake (action)

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

0 comments on commit bf8ce83

Please sign in to comment.