Message for latex#help when mappings not enabled

This commit is contained in:
Karl Yngve Lervåg 2013-10-11 23:13:41 +02:00
parent c6c2fb8ed5
commit 043880714d

View File

@ -54,10 +54,11 @@ endfunction
" {{{1 latex#help
function! latex#help()
if g:latex_mappings_enabled
echo "Latex mappings"
nmap <buffer>
vmap <buffer>
omap <buffer>
else
echo "Mappings not enabled"
endif
endfunction