Commit 834656f
committed
Diagnostic float: Record position before debounce time
It seems that we should be recording the current buffer, cursor position
and change tick before we wait to see if the float should be shown or
not. Otherwise, if any of the above change during the
`g:lsp_diagnostics_float_delay` our recording would be incorrect.1 parent 356254d commit 834656f
1 file changed
+10
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
29 | 34 | | |
30 | | - | |
31 | | - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
32 | 40 | | |
33 | 41 | | |
34 | 42 | | |
| |||
0 commit comments