| version 1.17, 2003/11/20 15:53:25 |
version 1.18, 2003/12/09 07:26:57 |
|
|
| " Vim global plugin for autoload template files |
" Vim global plugin for autoload template files |
| " File: templatefile.vim |
" File: templatefile.vim |
| " Maintainer: Lubomir Host 'rajo' <rajo AT platon.sk> |
" Maintainer: Lubomir Host 'rajo' <rajo AT platon.sk> |
| " Version: $Platon: vimconfig/vim/plugin/templatefile.vim,v 1.16 2003/11/20 15:02:17 rajo Exp $ |
" Version: $Platon: vimconfig/vim/plugin/templatefile.vim,v 1.17 2003/11/20 15:53:25 rajo Exp $ |
| " |
" |
| " Thanks: |
" Thanks: |
| " Scott Urban: First version of templatefile.vim |
" Scott Urban: First version of templatefile.vim |
| Line 72 function! LoadTemplateFile() |
|
| Line 72 function! LoadTemplateFile() |
|
| let inc_gaurd = Escape(toupper(inc_gaurd)) |
let inc_gaurd = Escape(toupper(inc_gaurd)) |
| if exists("g:author") |
if exists("g:author") |
| let Author = Escape(g:author) |
let Author = Escape(g:author) |
| |
else |
| |
let Author = Escape("UNKNOWN AUTHOR") |
| endif |
endif |
| if exists("g:email") |
if exists("g:email") |
| let Email = Escape(g:email) |
let Email = Escape(g:email) |
| |
else |
| |
let Email = Escape("UNKNOWN@undefined.net") |
| endif |
endif |
| if exists("g:company") |
if exists("g:company") |
| let Company = Escape(g:company) |
let Company = Escape(g:company) |
| |
else |
| |
let Company = Escape("UNKNOWN Company") |
| endif |
endif |
| |
|
| " build variable for @JAVA_PACKAGE@ substitution |
" build variable for @JAVA_PACKAGE@ substitution |