summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorLucas Hoffmann <l-m-h@web.de>2018-08-02 17:06:22 +0200
committerLucas Hoffmann <l-m-h@web.de>2018-08-02 17:06:22 +0200
commit2c052542c9aa665c63ee5fab6777ece5f4414818 (patch)
treebc0647b022be7058ae3640d5c71d4abfd39f9a60 /plugin
parent2bc2b3810f5d83ceb4bbce65107a41ad969ead2b (diff)
downloadvdebug-2c052542c9aa665c63ee5fab6777ece5f4414818.zip
Remove superfluous :exec
Diffstat (limited to 'plugin')
-rw-r--r--plugin/vdebug.vim10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugin/vdebug.vim b/plugin/vdebug.vim
index b38846a..78b01cc 100644
--- a/plugin/vdebug.vim
+++ b/plugin/vdebug.vim
@@ -173,7 +173,7 @@ function! Vdebug_load_options(options)
let single_defined_params = s:Vdebug_get_options()
let g:vdebug_options = extend(g:vdebug_options, single_defined_params)
- exe ":python3 debugger.reload_options()"
+ python3 debugger.reload_options()
endfunction
" Get options defined outside of the vdebug_options dictionary
@@ -231,7 +231,7 @@ function! Vdebug_load_keymaps(keymaps)
" Exceptional case for visual evaluation
exe "vnoremap ".g:vdebug_keymap["eval_visual"]." :python3 debugger.handle_visual_eval()<cr>"
- exe ":python3 debugger.reload_keymappings()"
+ python3 debugger.reload_keymappings()
endfunction
function! s:OptionNames(A,L,P)
@@ -266,19 +266,19 @@ function! Vdebug_set_option(option, ...)
endif
echomsg 'Setting vdebug option "' . a:option . '" to: ' . a:1
let g:vdebug_options[a:option] = a:1
- exe ":python3 debugger.reload_options()"
+ python3 debugger.reload_options()
endfunction
function! Vdebug_add_path_map(from, to)
echomsg 'Adding vdebug path map "{' . a:from . ':' . a:to . '}"'
let g:vdebug_options['path_maps'] = extend(g:vdebug_options['path_maps'], {a:from: a:to})
- exe ":python3 debugger.reload_options()"
+ python3 debugger.reload_options()
endfunction
function! Vdebug_path_map(from, to)
echomsg 'Setting vdebug path maps to "{' . a:from . ':' . a:to . '}"'
let g:vdebug_options['path_maps'] = {a:from: a:to}
- exe ":python3 debugger.reload_options()"
+ python3 debugger.reload_options()
endfunction
function! Vdebug_get_visual_selection()