diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-10 10:20:05 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-10 10:20:05 +1200 |
commit | e3ab2e71499e0c0617579a74ddf16af64dfcf2ef (patch) | |
tree | 3f4307996fc6fa5feacb656dd916fc2f018b5580 | |
parent | Document what appears to be a Vim v8.1 bug (diff) | |
download | dotfiles-e3ab2e71499e0c0617579a74ddf16af64dfcf2ef.tar.gz dotfiles-e3ab2e71499e0c0617579a74ddf16af64dfcf2ef.zip |
Inline a set-run-restore command triplet
-rw-r--r-- | vim/vimrc | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -1186,9 +1186,7 @@ command PutDate " function! UTC(command) abort let tz = expand('$TZ') - let $TZ = 'UTC' - execute a:command - let $TZ = tz + let $TZ = 'UTC' | execute a:command | let $TZ = tz endfunction command -complete=command -nargs=1 UTC \ call UTC(<q-args>) |