From ec6349fb3fc0b5d9e482f98e2e17e874de5929a7 Mon Sep 17 00:00:00 2001 From: jdhao Date: Thu, 16 Apr 2020 14:21:31 +0800 Subject: [PATCH] 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. --- my_snippets/python.snippets | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/my_snippets/python.snippets b/my_snippets/python.snippets index 2d146ec..0f19ba6 100644 --- a/my_snippets/python.snippets +++ b/my_snippets/python.snippets @@ -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