File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -45,15 +45,19 @@ let g:phpcomplete_mappings = extend({
45
45
if g: phpcomplete_enhance_jump_to_definition
46
46
if ' ' == mapcheck (g: phpcomplete_mappings [' jump_to_def' ])
47
47
silent ! exe " nnoremap <silent> <unique> <buffer> " .g: phpcomplete_mappings [' jump_to_def' ]." :<C-u>call phpcomplete#JumpToDefinition('normal')<CR>"
48
+ silent ! exe " vnoremap <silent> <unique> <buffer> " .g: phpcomplete_mappings [' jump_to_def' ]." :<C-u>call phpcomplete#JumpToDefinition('normal')<CR>"
48
49
endif
49
50
if ' ' == mapcheck (g: phpcomplete_mappings [' jump_to_def_split' ])
50
51
silent ! exe " nnoremap <silent> <unique> <buffer> " .g: phpcomplete_mappings [' jump_to_def_split' ]." :<C-u>call phpcomplete#JumpToDefinition('split')<CR>"
52
+ silent ! exe " vnoremap <silent> <unique> <buffer> " .g: phpcomplete_mappings [' jump_to_def_split' ]." :<C-u>call phpcomplete#JumpToDefinition('split')<CR>"
51
53
endif
52
54
if ' ' == mapcheck (g: phpcomplete_mappings [' jump_to_def_vsplit' ])
53
55
silent ! exe " nnoremap <silent> <unique> <buffer> " .g: phpcomplete_mappings [' jump_to_def_vsplit' ]." :<C-u>call phpcomplete#JumpToDefinition('vsplit')<CR>"
56
+ silent ! exe " vnoremap <silent> <unique> <buffer> " .g: phpcomplete_mappings [' jump_to_def_vsplit' ]." :<C-u>call phpcomplete#JumpToDefinition('vsplit')<CR>"
54
57
endif
55
58
if ' ' == mapcheck (g: phpcomplete_mappings [' jump_to_def_tabnew' ])
56
59
silent ! exe " nnoremap <silent> <unique> <buffer> " .g: phpcomplete_mappings [' jump_to_def_tabnew' ]." :<C-u>call phpcomplete#JumpToDefinition('tabnew')<CR>"
60
+ silent ! exe " vnoremap <silent> <unique> <buffer> " .g: phpcomplete_mappings [' jump_to_def_tabnew' ]." :<C-u>call phpcomplete#JumpToDefinition('tabnew')<CR>"
57
61
endif
58
62
endif
59
63
You can’t perform that action at this time.
0 commit comments