11" Vim script.
22" Author: Peter Odding <peter@peterodding.com>
3- " Last Change: May 25 , 2013
3+ " Last Change: May 27 , 2013
44" URL: http://peterodding.com/code/vim/lua-inspect/
55
6- let g: xolox #luainspect#version = ' 0.4.26 '
6+ let g: xolox #luainspect#version = ' 0.4.27 '
77
88function ! xolox#luainspect#toggle_cmd () " {{{1
99 if ! (exists (' b:luainspect_disabled' ) && b: luainspect_disabled )
@@ -22,7 +22,7 @@ function! xolox#luainspect#auto_enable() " {{{1
2222 " Define buffer local mappings for rename / goto definition features.
2323 inoremap <buffer> <silent> <F2> <C-o> :call xolox#luainspect#make_request('rename')<CR>
2424 nnoremap <buffer> <silent> <F2> :call xolox#luainspect#make_request('rename')<CR>
25- nnoremap <buffer> <silent> gd :call xolox#luainspect#make_request('goto ')<CR>
25+ nnoremap <buffer> <silent> gd :call xolox#luainspect#make_request('go_to ')<CR>
2626 " Enable balloon evaluation / dynamic tool tips.
2727 if has (' balloon_eval' )
2828 setlocal ballooneval balloonexpr = LuaInspectToolTip ()
@@ -94,7 +94,7 @@ function! xolox#luainspect#make_request(action) " {{{1
9494 call s: clear_previous_matches ()
9595 call s: highlight_variables ()
9696 call xolox#misc#timer#stop (" luainspect.vim %s: Highlighted variables in %s in %s." , g: xolox #luainspect#version , friendlyname, starttime)
97- elseif response == ' goto '
97+ elseif response == ' go_to '
9898 if len (b: luainspect_output ) < 3
9999 call xolox#misc#msg#warn (" luainspect.vim %s: No variable under cursor!" , g: xolox #luainspect#version )
100100 else
0 commit comments