Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Friday, October 16, 2026

Diff for vimconfig/vim/plugin/templatefile.vim between version 1.5 and 1.6

version 1.5, 2002/09/17 13:39:14 version 1.6, 2002/12/09 14:17:08
Line 34  fun! LoadTemplateFile()
Line 34  fun! LoadTemplateFile()
         endif          endif
         let extension = expand ("%:e")          let extension = expand ("%:e")
         if extension == ""          if extension == ""
                 let template_file = "templates/" . expand("%:t")                  let template_file = "/templates/" . expand("%:t")
                 let template_func = "TemplateFileFunc_noext_" . expand("%:t")                  let template_func = "TemplateFileFunc_noext_" . expand("%:t")
         else          else
                 let template_file = "templates/skel." . extension                  let template_file = "/templates/skel." . extension
                 let template_func = "TemplateFileFunc_" . extension                  let template_func = "TemplateFileFunc_" . extension
         endif          endif
         if filereadable(expand($VIMTEMPLATE . template_file))          if filereadable(expand($VIMTEMPLATE . template_file))
                 call LoadTemplateFileConfirm($VIMTEMPLATE . template_file)                  call LoadTemplateFileConfirm($VIMTEMPLATE . template_file)
         elseif filereadable(expand($HOME . "/.vim/" . template_file))          elseif filereadable(expand($HOME . "/.vim" . template_file))
                 call LoadTemplateFileConfirm($HOME . "/.vim/" . template_file)                  call LoadTemplateFileConfirm($HOME . "/.vim" . template_file)
         elseif filereadable(expand($VIM . template_file))          elseif filereadable(expand($VIM . template_file))
                 call LoadTemplateFileConfirm($VIM . template_file)                  call LoadTemplateFileConfirm($VIM . template_file)
         elseif filereadable(expand($VIMRUNTIME . template_file))          elseif filereadable(expand($VIMRUNTIME . template_file))

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top