From 42c2b7847078f8e920f30084f46cf2ff60f3e173 Mon Sep 17 00:00:00 2001 From: protream Date: Tue, 19 Apr 2016 17:30:04 +0800 Subject: [PATCH] snippet `pmdoc`: fix year generate error and make variables more readable --- UltiSnips/python.snippets | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/UltiSnips/python.snippets b/UltiSnips/python.snippets index 9dc53a5..2fb775a 100644 --- a/UltiSnips/python.snippets +++ b/UltiSnips/python.snippets @@ -690,16 +690,16 @@ ${1:${VISUAL:doc}} `!p snip.rv = triple_quotes(snip)` endsnippet -snippet pmdoc "pocoo style module doc sting" b +snippet pmdoc "pocoo style module doc string" b # -*- coding: utf-8 -*- """ `!p snip.rv = get_dir_and_file_name(snip)` `!p snip.rv = '~' * len(get_dir_and_file_name(snip))` - ${1:YOURDOCSTRING} + ${1:DESCRIPTION} - :copyright: (c) `date +Y%` by ${2:YOURNAME}. - :license: ${3:YOURLICENSE}, see LICENSE for more details. + :copyright: (c) `date +%Y` by ${2:YOUR_NAME}. + :license: ${3:LICENSE_NAME}, see LICENSE for more details. """ $0 endsnippet