fix for renamings at the line end
This commit is contained in:
1 parent
6920f15caf
commit
75ccf0a5d1
1 file changed
+3
@@ -102,6 +102,9 @@ if 1:
|
||||
temp_rename = _goto(is_related_name=True, no_output=True)
|
||||
_rename_cursor = vim.current.window.cursor
|
||||
|
||||
vim.command('normal A ') # otherwise startinsert doesn't work well
|
||||
vim.current.window.cursor = _rename_cursor
|
||||
|
||||
vim.command('augroup jedi_rename')
|
||||
vim.command('autocmd InsertLeave * call jedi#rename()')
|
||||
vim.command('augroup END')
|
||||
|
||||
Reference in new issue
Block a user