Comments (6)
Current status: waiting on more info from me.
from color_coded.
Hi,
I just tried to install color_coded on my machine (archlinux) and have the same error.
Small warning though, i'm very new to vim! So just in case, here are the steps i did to install this:
- install vim
- install vundle according to the github page (not via the archlinux packages since there is none)
- install color_coded and following the vundle docs, followed by the "all" section.
- then i also added the two config options to my .vimrc which are described under the "Options" section (the two let ... variables).
So now vim is setup, vundle is done, color_coded is done. Thus i open a cpp file. Then i get these errors:
Error detected while processing function color_coded#enter:
line 7:
E121: Undefined variable: b:current_syntax
E15: Invalid expression: 'ownsyntax ' . b:current_syntax
Press ENTER or type command to continue
Error detected while processing function color_coded#moved..color_coded#add_match:
line 2:
E28: No such highlight group name: Keyword
Press ENTER or type command to continue
Error detected while processing function color_coded#moved..color_coded#add_match:
line 2:
E28: No such highlight group name: Keyword
Press ENTER or type command to continue
Error detected while processing function color_coded#moved..color_coded#add_match:
line 2:
E28: No such highlight group name: Keyword
Press ENTER or type command to continue
Error detected while processing function color_coded#moved..color_coded#add_match:
line 2:
E28: No such highlight group name: Keyword
Press ENTER or type command to continue
Error detected while processing function color_coded#moved..color_coded#add_match:
line 2:
E28: No such highlight group name: Keyword
Press ENTER or type command to continue
Error detected while processing function color_coded#moved..color_coded#add_match:
line 2:
E28: No such highlight group name: Keyword
then the file opens with a very small bit of highlighting. Definitely not as shown in the screenshots :)
Toggling color_coded and executing :colorscheme twilighted doen't seem to help.
My vim --version output:
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Jul 11 2015 08:44:21)
Included patches: 1-778
Compiled by Arch Linux
Huge version without GUI. Features included (+) or not (-):
+acl +farsi +mouse_netterm +syntax
+arabic +file_in_path +mouse_sgr +tag_binary
+autocmd +find_in_path -mouse_sysmouse +tag_old_static
-balloon_eval +float +mouse_urxvt -tag_any_white
-browse +folding +mouse_xterm -tcl
++builtin_terms -footer +multi_byte +terminfo
+byte_offset +fork() +multi_lang +termresponse
+cindent +gettext -mzscheme +textobjects
-clientserver -hangul_input +netbeans_intg +title
-clipboard +iconv +path_extra -toolbar
+cmdline_compl +insert_expand +perl +user_commands
+cmdline_hist +jumplist +persistent_undo +vertsplit
+cmdline_info +keymap +postscript +virtualedit
+comments +langmap +printer +visual
+conceal +libcall +profile +visualextra
+cryptv +linebreak +python +viminfo
+cscope +lispindent -python3 +vreplace
+cursorbind +listcmds +quickfix +wildignore
+cursorshape +localmap +reltime +wildmenu
+dialog_con +lua +rightleft +windows
+diff +menu +ruby +writebackup
+digraphs +mksession +scrollbind -X11
-dnd +modify_fname +signs -xfontset
-ebcdic +mouse +smartindent -xim
+emacs_tags -mouseshape -sniff -xsmp
+eval +mouse_dec +startuptime -xterm_clipboard
+ex_extra +mouse_gpm +statusline -xterm_save
+extra_search -mouse_jsbterm -sun_workshop -xpm
system vimrc file: "/etc/vimrc"
user vimrc file: "$HOME/.vimrc"
2nd user vimrc file: "~/.vim/vimrc"
user exrc file: "$HOME/.exrc"
fall-back for $VIM: "/usr/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: gcc -L. -Wl,-O1,--sort-common,--as-needed,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-E -Wl,-rpath,/usr/lib/perl5/core_perl/CORE -Wl,-O1,--sort-common,--as-needed,-z,relro -L/usr/local/lib -Wl,--as-needed -o vim -lm -lncurses -lelf -lnsl -lacl -lattr -lgpm -ldl -L/usr/lib -llua -Wl,-E -Wl,-rpath,/usr/lib/perl5/core_perl/CORE -Wl,-O1,--sort-common,--as-needed,-z,relro -fstack-protector-strong -L/usr/local/lib -L/usr/lib/perl5/core_perl/CORE -lperl -lpthread -lnsl -ldl -lm -lcrypt -lutil -lc -L/usr/lib/python2.7/config -lpython2.7 -lpthread -ldl -lutil -lm -Xlinker -export-dynamic -lruby -lpthread -lgmp -ldl -lcrypt -lm -L/usr/lib
The ldd output on the color coded library:
ldd color_coded.so
linux-vdso.so.1 (0x00007ffde35eb000)
liblua5.2.so.5.2 => /usr/lib/liblua5.2.so.5.2 (0x00007fdbb69a5000)
libncursesw.so.5 => /usr/lib/libncursesw.so.5 (0x00007fdbb6740000)
libz.so.1 => /usr/lib/libz.so.1 (0x00007fdbb652a000)
libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007fdbb630c000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007fdbb5f8a000)
libm.so.6 => /usr/lib/libm.so.6 (0x00007fdbb5c86000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007fdbb5a6f000)
libc.so.6 => /usr/lib/libc.so.6 (0x00007fdbb56cd000)
libdl.so.2 => /usr/lib/libdl.so.2 (0x00007fdbb54c9000)
/usr/lib64/ld-linux-x86-64.so.2 (0x0000559a70fbe000)
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.
from color_coded.
Do you have syntax on
in your vimrc? This is needed by color_coded to do highlighting. Seems like this is not documented.
from color_coded.
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.
from color_coded.
I've created an issue on neobundle's repo to hopefully get some more information about this.
from color_coded.
I've resolved this issue on the revamp
branch, which I'm currently use to spice color_coded up with a number of fixes. The commit is 7b923cc and I encourage you all to give this a shot with neobundle's lazy loading.
from color_coded.
Related Issues (20)
- C++ Template as return value
- question: analogs for other editors
- VIM will get stuck when it exits, it must be kill -9 XXX to close it, archlinux
- When using compile_commands.json, the extra compile options in defaults.hpp are faulty.
- cmake .. failed in manjaro distro HOT 1
- color_coded seems to be using clang no matter what HOT 1
- [question] NeoVIM support HOT 1
- I have no idea what happened? HOT 1
- What about client-server architecture? HOT 5
- Problems with installation on Windows HOT 10
- My $VIMHOME has changed
- Another SEGV(segmentation fault) caused by folding autocmd HOT 1
- Installing using Vundle HOT 4
- lua 5.4 HOT 2
- Function parameters in argument list colored gray. Can it be changed? HOT 4
- Should not attempt to download when DOWNLOAD_CLANG=OFF and llvm was not found. HOT 1
- No change in gruvbox HOT 3
- Failed to build in Ubuntu HOT 1
- What's the progress of new color_coded : ) HOT 1
- feature request mac os m1 not supported
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from color_coded.