Closed iago-lito closed 6 years ago
Thank you so much for your help!
Here is the output of vim --version
:vim_version_output.txt
cd ~/.vim/bundle/intim && git rev-parse HEAD
e91db2ea12e08e86bb08005151c1cdde4b0167cd
:call Intim_invokeCommand('python', 'sage')
Erreur détectée en traitant function Intim_invokeCommand :
ligne 1 :
E117: Fonction inconnue : <SNR>29_set_invokeCommand
:call IntimSetLanguage('python')
does not throw an error:call Intim_hotkeys('python', 'ii', '* += 1')
neitherWell..
We are using the same vim version, so no problem on this side
Surprisingly e91db2ea12e08e86bb08005151c1cdde4b0167cd is.. not! a commit from this repo :D I think you've forked Intim to add automatic sage
filetype detection. There is no problem with that. However, don't forget to post a pull request if you wish your changes to be merged into Intim's repo, and not to miss further updates ;)
Well, that's interesting. Maybe something has been broken with function definition macro when adding the hook in 106a9c6a4e0253ece3852a2e77249dae9c664120. I've tried making it cleaner with 72286d27e550a0ccb38153206ee85e76ebdd0ce7.
This confirms my hypothesis about the macro for option setting definition being broken by the hook, because global options and dictionnary options seem not affected.
But I still cannot reproduce. Would you please:
check whether the problem persists in 72286d27e550a0ccb38153206ee85e76ebdd0ce7.
If yes, post the output of:
echo <SNR>29_setHook_invokeCommand('python', 'python')
0
or E117
)echo <SNR>29_set_postLaunchCommands('python', [''])
E117
)echo <SNR>29_setHook_postLaunchCommands('python', [''])
0
or E117
)Thank you for your patience.
The previous commands do not report any errors anymore!
Do you mean that 72286d27e550a0ccb38153206ee85e76ebdd0ce7 fixed it? If yes, I'll close the issue.
Yes!
Problem forked from #3. Any
.vimrc
call to anIntim_<option>
seems to fail.@alaindanet I cannot reproduce your problem yet. Let's try digging this out :)
Can you post the output of
$ vim --version
?Is your image of Intim up-to-date? I.e. what's the output of
Does a call to
:call Intim_invokeCommand('python', 'sage')
from Vim command mode also throws anE117
, or is it just when you start vim?Does slacking other functions in your
.vimrc
, likecall IntimSetLanguage('python')
orcall call Intim_hotkeys('python', 'ii', '* += 1')
for instance, also producesE117
errors?Thank you for your patience.