Commit 40ec57a
committed
Account for change in <sfile> in Vim 8.2
The output of expand('<sfile>') inside a function now differs in that it
lists multiple function names for nested calls delimited by '..'. We
need to extract the last function name to determine the current script
number.
Fixes #20.1 parent fc1f5d4 commit 40ec57a
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
0 commit comments