X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=vim%2Fftplugin%2Fc%2Fc.xpt.vim;h=c6a3d78b4575d9f099c5076c18a0bc7b2fb5b1d8;hb=1031c82c0273516bedd786413c25315fc9bcd572;hp=7944ece899eb56636e07e273f588d0a262b0b89a;hpb=6aa5d280eb14164d0d87feaa108614dded1961fa;p=config%2Fdotfiles.git diff --git a/vim/ftplugin/c/c.xpt.vim b/vim/ftplugin/c/c.xpt.vim index 7944ece..c6a3d78 100644 --- a/vim/ftplugin/c/c.xpt.vim +++ b/vim/ftplugin/c/c.xpt.vim @@ -21,15 +21,20 @@ " You should have received a copy of the GNU General Public License " along with this file. If not, see . + +" Prevent errors if XPTemplate is not installed. +if !exists('g:XPT#ver') + finish +endif + XPTemplate priority=personal XPT c -XSET year|def=strftime("%Y") /* * `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