mirror of
https://github.com/mattn/emmet-vim.git
synced 2025-12-06 10:44:24 +08:00
12 lines
291 B
VimL
12 lines
291 B
VimL
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
|
|
|