intero should not be triggered in the compare view
-
Bug description : I use git as well. When git opens up a compare window, there are .hs files open. However, they are in themselves not valid, and are not supposed to be.
-
Observed behaviour : When I hover my mouse over the compare view of git, I get messages like:
[Error - 08:37:07] Request textDocument/hover failed.
Message: Request textDocument/hover failed with message: Cannot read property 'charAt' of undefined
Code: -32603
-
Expected behaviour : When a compare view on a haskell file is open, I do not want code completion or type information or stuff like that at all.
-
OS: windows | linux | macos Windows 10, 64 bit.
-
Plugin (ghc, stack, intero and haskero) version and VSCode version used : ghc 8.0.2, stack 1.5.0, intero 0.1.20, haskero 1.3.1
-
Steps to reproduce:
go to source control to see the changed files 2. open any of the changed .hs files 3. move your mouse over the working tree, that has been opened by step 2.