diff options
author | BlackEagle <ike.devolder@gmail.com> | 2018-02-19 21:11:02 +0100 |
---|---|---|
committer | BlackEagle <ike.devolder@gmail.com> | 2018-02-19 21:11:02 +0100 |
commit | 97b7d08f1ac787a900d8112c463d596a27259aa0 (patch) | |
tree | 23244cfb57ae72244bfae22432e686954662c108 /rubylib | |
parent | f41221eef9f4e666cc9a6269702e0e11b6ade520 (diff) | |
download | vdebug-97b7d08f1ac787a900d8112c463d596a27259aa0.zip |
updated integration tests and updated travis commands for it
Signed-off-by: BlackEagle <ike.devolder@gmail.com>
Diffstat (limited to 'rubylib')
-rw-r--r-- | rubylib/vdebug.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/rubylib/vdebug.rb b/rubylib/vdebug.rb index 5d3797e..e28d86e 100644 --- a/rubylib/vdebug.rb +++ b/rubylib/vdebug.rb @@ -20,7 +20,7 @@ class Vdebug set_opt "debug_file", "/tmp/vdebug.log" end set_opt "background_listener", 0 - vim.server.remote_send ":python debugger.run()<CR>" + vim.server.remote_send ":python3 debugger.run()<CR>" sleep 2 end @@ -33,20 +33,20 @@ class Vdebug end def last_error - vim.command("python debugger.get_last_error()") + vim.command("python3 debugger.get_last_error()") end def step_to_line(number) vim.command "#{number}" - vim.command "python debugger.run_to_cursor()" + vim.command "python3 debugger.run_to_cursor()" end def step_over - vim.command 'python debugger.step_over()' + vim.command 'python3 debugger.step_over()' end def step_in - vim.command 'python debugger.step_into()' + vim.command 'python3 debugger.step_into()' end def trace(expression) @@ -86,7 +86,7 @@ class Vdebug def connected? status = vim.command( - "python print debugger.status()" + "python3 print debugger.status()" ) %w(break running).include? status end |