If I call gvim main.py -c "call cursor(41, 45)" -c "call pymode#rope#goto_definition()"
Then I get this error about parenthesis:
"main.py" [unix] 54L, 1677C
Error detected while processing command line:
E107: Missing parentheses:pymodeC:\Users\me\key_state_manager.pyropeC:\Users\me\key_state_manager.pygoto_definition()
Press ENTER or type command to continue
I'm trying to make a function for opening a definition in another gvim window.
~/goto_def.vim
file that containsautocmd VimEnter * call pymode#rope#goto_definition()
and finally callinggvim main.py -c "call cursor(41, 45)" -c "source ~/goto_def.vim"
– CornSmith May 28 '17 at 20:36#
symbols. I'll post my answer now and type out the error manually :) – CornSmith May 29 '17 at 19:28