vim and deps in main

This commit is contained in:
Ertuğrul Erata
2015-07-22 22:27:50 +03:00
parent 4cb44ea35f
commit e7e46456cd
29 changed files with 5874 additions and 0 deletions
@@ -0,0 +1,32 @@
" Vim plugin
" Purpose: Intelligently create content for PISI's translations.xml files
" Author: İnanç Yıldırgan
" Copyright: Copyright (c) 2008 İnanç Yıldırgan
" Licence: You may redistribute this under the terms of the GNU GPL v2..
if &compatible || v:version < 603
finish
endif
fun! MakeNewTranslations()
set nopaste
0 put = '<?xml version=\"1.0\" ?>'
put = '<PISI>'
put = ' <Source>'
put = ' <Name></Name>'
put = ' <Summary xml:lang=\"\"></Summary>'
put = ' <Description xml:lang=\"\"></Description>'
put = ' </Source>'
put = '</PISI>'
14
endfun
com! -nargs=0 MakeNewTranslations call MakeNewTranslations()
augroup MakeNewTranslations
au!
autocmd BufNewFile translations.xml call MakeNewTranslations()
augroup END
" vim: set et foldmethod=marker : "