File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,7 +15,9 @@ function! xolox#luainspect#auto_enable() " {{{1
1515 nnoremap <buffer> <silent> <F2> :call xolox#luainspect#make_request('rename')<CR>
1616 nnoremap <buffer> <silent> gd :call xolox#luainspect#make_request('goto')<CR>
1717 " Enable balloon evaluation / dynamic tool tips.
18- setlocal ballooneval balloonexpr = LuaInspectToolTip ()
18+ if has (' balloon_eval' )
19+ setlocal ballooneval balloonexpr = LuaInspectToolTip ()
20+ endif
1921 " Install automatic commands to update the highlighting.
2022 for event in split (g: lua_inspect_events , ' ,' )
2123 execute ' autocmd!' event ' <buffer> LuaInspect'
Original file line number Diff line number Diff line change 22" Author: Peter Odding <peter@peterodding.com>
33" Last Change: May 25, 2011
44" URL: http://peterodding.com/code/vim/lua-inspect/
5- " Version: 0.4.9
5+ " Version: 0.4.10
66" License: MIT
77
88" Support for automatic update using the GLVS plug-in.
You can’t perform that action at this time.
0 commit comments