From ab7ad57f770c502f8974ea99668a1980d26af115 Mon Sep 17 00:00:00 2001 From: Holger Rapp Date: Mon, 13 Jul 2009 12:02:48 +0200 Subject: [PATCH] Added support for python interpolation. Added a cool help snippet sec that uses this feature. This needs documentation --- UltiSnips/help.snippets | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 UltiSnips/help.snippets diff --git a/UltiSnips/help.snippets b/UltiSnips/help.snippets new file mode 100644 index 0000000..4410f7a --- /dev/null +++ b/UltiSnips/help.snippets @@ -0,0 +1,7 @@ +# Snippets for VIM Help Files + +snippet sec +============================================================================= +${1:SECTION}`!p res = ("*%s-%s*" % (fn.split('.')[0], t[1].lower())).rjust(77-len(t[1]))` +endsnippet +