aboutsummaryrefslogtreecommitdiffstats
path: root/vimrc
diff options
context:
space:
mode:
authorTeddy Wing2021-10-06 19:20:25 +0200
committerTeddy Wing2021-10-06 20:33:36 +0200
commit5292cf4d78fdd39743518ad83e264e7e3cc0686d (patch)
tree45ffd799b2771fe11dbad5aad5d3e00f6f682d24 /vimrc
parent1e97570f54c86a9238baf4bb4eb3a82e6f3874a9 (diff)
downloaddotvim-5292cf4d78fdd39743518ad83e264e7e3cc0686d.tar.bz2
projects/aodocs.vim: Make `s:TodoCopyLast()` work for second entry
When only a single TODO day entry exists in a file, this function would fail with a "pattern not found" error because the copy pattern expects at least two entries in a file. Alter the function so that it also works when only one entry is present in the file.
Diffstat (limited to 'vimrc')
0 files changed, 0 insertions, 0 deletions