1
1
" Vim script.
2
2
" Author: Peter Odding <peter@peterodding.com>
3
- " Last Change: May 25 , 2013
3
+ " Last Change: May 27 , 2013
4
4
" URL: http://peterodding.com/code/vim/lua-inspect/
5
5
6
- let g: xolox #luainspect#version = ' 0.4.26 '
6
+ let g: xolox #luainspect#version = ' 0.4.27 '
7
7
8
8
function ! xolox#luainspect#toggle_cmd () " {{{1
9
9
if ! (exists (' b:luainspect_disabled' ) && b: luainspect_disabled )
@@ -22,7 +22,7 @@ function! xolox#luainspect#auto_enable() " {{{1
22
22
" Define buffer local mappings for rename / goto definition features.
23
23
inoremap <buffer> <silent> <F2> <C-o> :call xolox#luainspect#make_request('rename')<CR>
24
24
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>
26
26
" Enable balloon evaluation / dynamic tool tips.
27
27
if has (' balloon_eval' )
28
28
setlocal ballooneval balloonexpr = LuaInspectToolTip ()
@@ -94,7 +94,7 @@ function! xolox#luainspect#make_request(action) " {{{1
94
94
call s: clear_previous_matches ()
95
95
call s: highlight_variables ()
96
96
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 '
98
98
if len (b: luainspect_output ) < 3
99
99
call xolox#misc#msg#warn (" luainspect.vim %s: No variable under cursor!" , g: xolox #luainspect#version )
100
100
else
0 commit comments