Skip to content

Commit

Permalink
Restore kick (#676)
Browse files Browse the repository at this point in the history
  • Loading branch information
wz1000 committed Dec 16, 2020
1 parent 6a692de commit c64490f
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 c64490f

Please sign in to comment.