add lang.vim

This commit is contained in:
mattn
2012-06-29 09:56:15 +09:00
parent 255902037d
commit 855e1a73df

View File

@@ -0,0 +1,11 @@
let s:exists = {}
function zencoding#lang#exists(type)
if len(a:type) == 0
return 0
elseif has_key(s:exists, a:type)
return s:exists[a:type]
endif
let s:exists[a:type] = len(globpath(&rtp, 'autoload/zencoding/lang/'.a:type.'.vim')) > 0
return s:exists[a:type]
endfunction