- Fixed #187 initialization.

This commit is contained in:
Shougo Matsushita 2013-10-28 13:47:23 +09:00
parent fc713ecb62
commit 9df3ad16cb

View File

@ -1,7 +1,7 @@
"============================================================================= "=============================================================================
" FILE: neosnippet.vim " FILE: neosnippet.vim
" AUTHOR: Shougo Matsushita <Shougo.Matsu@gmail.com> " AUTHOR: Shougo Matsushita <Shougo.Matsu@gmail.com>
" Last Modified: 26 Sep 2013. " Last Modified: 28 Oct 2013.
" License: MIT license {{{ " License: MIT license {{{
" Permission is hereby granted, free of charge, to any person obtaining " Permission is hereby granted, free of charge, to any person obtaining
" a copy of this software and associated documentation files (the " a copy of this software and associated documentation files (the
@ -46,6 +46,8 @@ let s:neosnippet_options = [
"}}} "}}}
function! neosnippet#initialize() "{{{ function! neosnippet#initialize() "{{{
let s:is_initialized = 1
call s:initialize_script_variables() call s:initialize_script_variables()
call s:initialize_others() call s:initialize_others()
call s:initialize_cache() call s:initialize_cache()
@ -53,8 +55,6 @@ endfunction"}}}
function! s:check_initialize() "{{{ function! s:check_initialize() "{{{
if !exists('s:is_initialized') if !exists('s:is_initialized')
let s:is_initialized = 1
call neosnippet#initialize() call neosnippet#initialize()
endif endif
endfunction"}}} endfunction"}}}