Commit 199ccf0
committed
feat(compiler): fire
Problem: there was no way for user config to react when preview watching
stops, e.g. to clean up forward-search state for SyncTeX.
Solution: fire a `PreviewWatchingStopped` user autocmd from
`stop_watching` with `bufnr` and `provider` in the event data.PreviewWatchingStopped user event1 parent 08f0b03 commit 199ccf0
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
199 | 203 | | |
200 | 204 | | |
201 | 205 | | |
| |||
0 commit comments