forked from VimPlug/jedi-vim
again debug functions (was buggy before)
This commit is contained in:
@@ -31,15 +31,15 @@ function! jedi#show_func_def()
|
|||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! jedi#enable_speed_debugging()
|
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
|
endfunction
|
||||||
|
|
||||||
function! jedi#enable_debugging()
|
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
|
endfunction
|
||||||
|
|
||||||
function! jedi#disable_debugging()
|
function! jedi#disable_debugging()
|
||||||
python jedi.set_debug_function(None)
|
python jedi_vim.jedi.set_debug_function(None)
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
" ------------------------------------------------------------------------
|
" ------------------------------------------------------------------------
|
||||||
|
|||||||
2
jedi
2
jedi
Submodule jedi updated: 24b8942713...d08c12bb06
@@ -287,3 +287,7 @@ def tabnew(path):
|
|||||||
else:
|
else:
|
||||||
# tab doesn't exist, add a new one.
|
# tab doesn't exist, add a new one.
|
||||||
vim.command('tabnew %s' % path)
|
vim.command('tabnew %s' % path)
|
||||||
|
|
||||||
|
|
||||||
|
def print_to_stdout(level, str_out):
|
||||||
|
print(str_out)
|
||||||
|
|||||||
Reference in New Issue
Block a user