Hi,
-- I use balloonexpr feature in order to display some grabbed informations of content of file.
Nota : the balloonexpr function uses search inner func of Vim to search for informations (like line number of begin/end block code)
The functionnality runs for a while and I don't know why after some failure normal search or some time, the balloonexpr is not evaluated/called anymore.
1/ This balloonexr function is enabled by autocommand event triggers:
function! awl#autocmd() "{{{
augroup Awl
au! Awl
au BufEnter *.awl set filetype=awl
au BufEnter *.awl call s:enableballoon()
au BufLeave *.awl call s:disableballoon()
augroup END
endfunction "}}}
2/ The enabling balloon func consists in setting some of help's advises:
function! s:enableballoon() "{{{
call <SID>trace('enable balloon')
set ballooneval balloonevalterm <---
set balloonexpr=awl#BalloonExpr() <---
let s:winid = 0
let s:balloonText = ''
endfu
3/ Balloonexpr is not called after a while or fail search:
function! awl#BalloonExpr() "{{{
Thank you
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/6401d1dc-1ec5-41d4-9cec-0676eed0d9ba%40googlegroups.com.
No comments:
Post a Comment