Merge branch 'master' of github.com:claco/jasmine.vim
This commit is contained in:
commit
6aff23f3d5
@ -3,7 +3,19 @@ if exists("b:did_ftplugin")
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
if !exists("g:loaded_jasmine_snippets")
|
if !exists("g:loaded_jasmine_snippets")
|
||||||
call ExtractSnips("~/.vim/bundle/jasmine/snippets", "jasmine")
|
if exists("g:loaded_pathogen")
|
||||||
|
|
||||||
|
if !exists("g:jasmine_snippets_dir")
|
||||||
|
for dir in pathogen#split(&rtp)
|
||||||
|
if dir =~ "jasmine$" && isdirectory(dir."/snippets")
|
||||||
|
let g:jasmine_snippets_dir = dir."/snippets"
|
||||||
|
endif
|
||||||
|
endfor
|
||||||
|
endif
|
||||||
|
|
||||||
|
call ExtractSnips(g:jasmine_snippets_dir, "jasmine")
|
||||||
|
end
|
||||||
|
|
||||||
let g:loaded_jasmine_snippets = 1
|
let g:loaded_jasmine_snippets = 1
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user