X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=vim%2Fftplugin%2Fc%2Fc.xpt.vim;h=928420ff5c08e522759b0a83aa3e77979806eedb;hb=7ba8fd37426025138d7d19cfdbdf081d13c3b0c3;hp=7944ece899eb56636e07e273f588d0a262b0b89a;hpb=33473558441c9e9f1f8481eefacab59b5832afd3;p=config%2Fdotfiles.git diff --git a/vim/ftplugin/c/c.xpt.vim b/vim/ftplugin/c/c.xpt.vim index 7944ece..928420f 100644 --- a/vim/ftplugin/c/c.xpt.vim +++ b/vim/ftplugin/c/c.xpt.vim @@ -21,6 +21,12 @@ " 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