Added error message in latex#info if not initialized
This commit is contained in:
parent
cae066f778
commit
9a715c57a9
@ -20,6 +20,11 @@ function! latex#init() " {{{1
|
||||
endfunction
|
||||
|
||||
function! latex#info() " {{{1
|
||||
if !s:initialized
|
||||
echoerr "Error: vim-latex has not been initialized!"
|
||||
return
|
||||
endif
|
||||
|
||||
echo "b:latex"
|
||||
echo ' id: ' . b:latex.id
|
||||
if has_key(b:latex, 'fold_parts') && !empty(b:latex.fold_parts)
|
||||
|
Loading…
Reference in New Issue
Block a user