mirror of
https://github.com/davidhalter/jedi-vim.git
synced 2025-12-07 11:14:32 +08:00
Fix autocmd outside of if statement
This commit is contained in:
@@ -159,8 +159,8 @@ function! jedi#configure_call_signatures()
|
|||||||
" Need to track changes to avoid multiple undo points for a single edit
|
" Need to track changes to avoid multiple undo points for a single edit
|
||||||
let b:normaltick = b:changedtick
|
let b:normaltick = b:changedtick
|
||||||
autocmd TextChanged,InsertLeave,BufWinEnter <buffer> let b:normaltick = b:changedtick
|
autocmd TextChanged,InsertLeave,BufWinEnter <buffer> let b:normaltick = b:changedtick
|
||||||
endif
|
|
||||||
autocmd InsertEnter <buffer> let g:jedi#first_col = s:save_first_col()
|
autocmd InsertEnter <buffer> let g:jedi#first_col = s:save_first_col()
|
||||||
|
endif
|
||||||
autocmd InsertLeave <buffer> Python jedi_vim.clear_call_signatures()
|
autocmd InsertLeave <buffer> Python jedi_vim.clear_call_signatures()
|
||||||
autocmd CursorMovedI <buffer> Python jedi_vim.show_call_signatures()
|
autocmd CursorMovedI <buffer> Python jedi_vim.show_call_signatures()
|
||||||
endfunction
|
endfunction
|
||||||
|
|||||||
Reference in New Issue
Block a user