Commit 6f26bd4
committed
Fix tide failure in magit buffers.
When a user uses magit to extract old commits of files, magit creates buffers
for these commits. These buffers are not backed by actual files. Tide is turned
on in these buffers. Prior to this commit tide would report errors whenever it
tried to contact `tsserver` to work on one of these buffers. This commit makes
it so that tide detects that it is running in a magit buffer and aborts.1 parent 8a7c1fc commit 6f26bd4
1 file changed
+10
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2088 | 2088 | | |
2089 | 2089 | | |
2090 | 2090 | | |
| 2091 | + | |
| 2092 | + | |
| 2093 | + | |
| 2094 | + | |
| 2095 | + | |
| 2096 | + | |
| 2097 | + | |
| 2098 | + | |
| 2099 | + | |
2091 | 2100 | | |
2092 | 2101 | | |
2093 | 2102 | | |
| |||
2096 | 2105 | | |
2097 | 2106 | | |
2098 | 2107 | | |
| 2108 | + | |
2099 | 2109 | | |
2100 | 2110 | | |
2101 | 2111 | | |
| |||
0 commit comments