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