1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00

refactor: remove update info from file header

The file update info can be accessed from the file directly on the command line. We often forget to update the
update field in the Python source file header, making this field rather useless. I have also set up the Neovim to show file update time on the title of terminal window.  So there is no need to retain the update field in header comment.
This commit is contained in:
jdhao 2020-04-16 14:21:31 +08:00 committed by GitHub
parent 4fb31858b4
commit ec6349fb3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,8 +2,7 @@ snippet head "Python source file header" b
"""
Description: $1
Author: Jie-dong Hao
Date: `!v strftime("%Y-%m-%d %H:%M:%S%z")`
Update: `!v strftime("%Y-%m-%d %H:%M:%S%z")`
Created: `!v strftime("%Y-%m-%d %H:%M:%S%z")`
"""
$0
endsnippet