Skip to content

Commit e94e89f

Browse files
committed
fix: disable runSubset
See haskell#3458 (comment) for discussion. It forces runSubset for editor which does not support the file change notification project wise (helix/neovim/...). The good: - Way faster updates The ugly: - If you change a file by an external process, HLS will be lost. Open this file in your editor and manually trigger some changes so HLS will be on sync again.
1 parent ca106cd commit e94e89f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ghcide/src/Development/IDE/Main.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ defaultMain recorder Arguments{..} = withHeapStats (cmapWithPrio LogHeapStats re
332332
let def_options = argsIdeOptions config sessionLoader
333333

334334
-- disable runSubset if the client doesn't support watched files
335-
runSubset <- (optRunSubset def_options &&) <$> LSP.runLspT env isWatchSupported
335+
runSubset <- pure True
336336
log Debug $ LogShouldRunSubset runSubset
337337

338338
let options = def_options

0 commit comments

Comments
 (0)