]> ruderich.org/simon Gitweb - config/dotfiles.git/blob - vim/vim/ftplugin/java/java.xpt.vim
vim: xptemplate: remove unnecessary license text from templates
[config/dotfiles.git] / vim / vim / ftplugin / java / java.xpt.vim
1 " vim: ft=xpt
2
3 " XPTemplate template file.
4 "
5 " Language:     Java
6 " Maintainer:   Simon Ruderich <simon@ruderich.org>
7 " License:      GPL v3+
8
9
10 " Prevent errors if XPTemplate is not installed.
11 if !exists('g:XPT#ver')
12     finish
13 endif
14
15 XPTemplate priority=personal
16
17
18 XPT f
19 XSET description|post=S(V(), '^description$', 'XXX')
20 /*
21  * `description^
22  *
23  * Copyright (C) `strftime("%Y")^  Simon Ruderich
24  *
25  * This program is free software: you can redistribute it and/or modify
26  * it under the terms of the GNU General Public License as published by
27  * the Free Software Foundation, either version 3 of the License, or
28  * (at your option) any later version.
29  *
30  * This program is distributed in the hope that it will be useful,
31  * but WITHOUT ANY WARRANTY; without even the implied warranty of
32  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
33  * GNU General Public License for more details.
34  *
35  * You should have received a copy of the GNU General Public License
36  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
37  */
38
39
40 public class `E('%:t:r')^ {
41     `cursor^
42 }
43
44
45 XPT p
46 System.out.println(`value^);
47
48 XPT pe
49 System.err.println(`value^);