" You should have received a copy of the GNU General Public License
" along with this file. If not, see <http://www.gnu.org/licenses/>.
+
+" Prevent errors if XPTemplate is not installed.
+if !exists('g:XPT#ver')
+ finish
+endif
+
XPTemplate priority=personal
XPT c
-XSET year|def=strftime("%Y")
+XSET description|post=S(V(), '^description$', 'XXX')
/*
* `description^
*
- * Copyright (C) `year^ Simon Ruderich
+ * Copyright (C) `strftime("%Y")^ Simon Ruderich
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
return EXIT_SUCCESS;
}
+
+
+XPT p
+printf("`format^"`cursor^);
+
+XPT pe
+fprintf(stderr, "`format^"`cursor^);