Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Piatok, 23. október 2026

Rozdiely pre vimconfig/vim/plugin/templatefile.vim medzi verziami 1.5 a 1.6

verzia 1.5, 2002/09/17 13:39:14 verzia 1.6, 2002/12/09 14:17:08
Riadok 34  fun! LoadTemplateFile()
Riadok 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:
Odstranené z verzie1.5  
zmenené riadky
  Pridané vo verzii1.6

Platon Group <platon@platon.sk> http://platon.sk/
Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok