-
Notifications
You must be signed in to change notification settings - Fork 53
Uncaught error while sourcing "color_coded", b:current_syntax undefined #33
Comments
Current status: waiting on more info from me. |
Hi, I just tried to install color_coded on my machine (archlinux) and have the same error.
So now vim is setup, vundle is done, color_coded is done. Thus i open a cpp file. Then i get these errors: then the file opens with a very small bit of highlighting. Definitely not as shown in the screenshots :) My vim --version output: The ldd output on the color coded library: I'm not sure if the errors i mentioned come from the .so file, a lua file or a python file. In case it;s python, the version i use there is 3.4.3. If you need more info? I'd be happy to try it out. Also, testing possible patches you might have won't be a problem. |
Do you have |
I've been able to reproduce this issue by using NeoBundle and lazy loading color_coded, as per the color_coded example in the README: NeoBundleLazy 'jeaye/color_coded', {
\ 'build': {
\ 'unix': 'cmake . && make && make install',
\ },
\ 'autoload' : { 'filetypes' : ['c', 'cpp', 'objc', 'objcpp'] },
\ 'build_commands' : ['cmake', 'make']
\} For now, the solution it to eagerly load color_coded; I'm looking into what the actual issue is. |
I've created an issue on neobundle's repo to hopefully get some more information about this. |
I've resolved this issue on the |
Issue: #25 (comment)
[neobundle] Uncaught error while sourcing "color_coded": Vim(execute):E121: Undefined variable: b:current_syntax in function color_coded#enter, line 7
Here is the profile.log and vim version here from the error: https://gist.github.com/tony/a23eb36f188102120df6
Will follow up on what plugin / scheme is causing this issue and the workaround.
The text was updated successfully, but these errors were encountered: