aboutsummaryrefslogtreecommitdiff
path: root/options.vim
diff options
context:
space:
mode:
authorjdhao <jdhao@hotmail.com>2019-12-21 20:48:02 +0800
committerGitHub <noreply@github.com>2019-12-21 20:48:02 +0800
commit3fdf1894711f6b49b5e397e833ca09585e4a73cf (patch)
treeeb90b238b587b58e12ab6b0d7d9959795d01fe9e /options.vim
parent37498210bac226026232f39a20f8b77978d93aea (diff)
Update meta markdown snippets
The original snippet use vim interpolation and the date keeps changing while we are inside the snippet region, which is not desired. According to https://www.youtube.com/watch?v=JJQYwt6Diro, we can use Python interpolation and check if snip.c is empty to see if the interpolation has been finished. If the interpolation has finished (snip.c is empty in this condition), the date will be fixed and does not change when we are inside the snippet region.
Diffstat (limited to 'options.vim')
0 files changed, 0 insertions, 0 deletions