Fix error
This commit is contained in:
parent
5dba6a034e
commit
6b3a670b5a
@ -45,7 +45,7 @@ function! s:initialize_script_variables() "{{{
|
|||||||
" Set runtime dir.
|
" Set runtime dir.
|
||||||
let runtime_dir = neosnippet#variables#runtime_dir()
|
let runtime_dir = neosnippet#variables#runtime_dir()
|
||||||
let runtime_dir += split(globpath(&runtimepath, 'neosnippets'), '\n')
|
let runtime_dir += split(globpath(&runtimepath, 'neosnippets'), '\n')
|
||||||
if empty(runtime_dir) && !g:neosnippet#disable_runtime_snippets
|
if empty(runtime_dir) && empty(g:neosnippet#disable_runtime_snippets)
|
||||||
call neosnippet#util#print_error(
|
call neosnippet#util#print_error(
|
||||||
\ 'neosnippet default snippets cannot be loaded.')
|
\ 'neosnippet default snippets cannot be loaded.')
|
||||||
call neosnippet#util#print_error(
|
call neosnippet#util#print_error(
|
||||||
|
Loading…
Reference in New Issue
Block a user