forked from VimPlug/emmet-vim
Rename to Emmet.vim!
This commit is contained in:
11
autoload/emmet/lang.vim
Normal file
11
autoload/emmet/lang.vim
Normal file
@@ -0,0 +1,11 @@
|
||||
let s:exists = {}
|
||||
function! emmet#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/emmet/lang/'.a:type.'.vim')) > 0
|
||||
return s:exists[a:type]
|
||||
endfunction
|
||||
|
||||
Reference in New Issue
Block a user