again debug functions (was buggy before)

This commit is contained in:
David Halter
2012-11-28 17:39:26 +01:00
parent fb744e2e6d
commit d613ed2266
3 changed files with 8 additions and 4 deletions

View File

@@ -31,15 +31,15 @@ function! jedi#show_func_def()
endfunction
function! jedi#enable_speed_debugging()
python jedi.set_debug_function(jedi.debug.print_to_stdout, speed=True, warnings=False, notices=False)
python jedi_vim.jedi.set_debug_function(jedi_vim.print_to_stdout, speed=True, warnings=False, notices=False)
endfunction
function! jedi#enable_debugging()
python jedi.set_debug_function(jedi.debug.print_to_stdout, speed=True, warnings=False, notices=False)
python jedi_vim.jedi.set_debug_function(jedi_vim.print_to_stdout)
endfunction
function! jedi#disable_debugging()
python jedi.set_debug_function(None)
python jedi_vim.jedi.set_debug_function(None)
endfunction
" ------------------------------------------------------------------------

2
jedi

Submodule jedi updated: 24b8942713...d08c12bb06

View File

@@ -287,3 +287,7 @@ def tabnew(path):
else:
# tab doesn't exist, add a new one.
vim.command('tabnew %s' % path)
def print_to_stdout(level, str_out):
print(str_out)