Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vimscript errors for 6f85485 vimcat #134

Closed
step- opened this issue Jan 30, 2016 · 4 comments
Closed

Vimscript errors for 6f85485 vimcat #134

step- opened this issue Jan 30, 2016 · 4 comments

Comments

@step-
Copy link

step- commented Jan 30, 2016

I installed 6f85485 with Makefile PREFIX=/usr and tested vimcat /usr/bin/vimcap
My rxvt-unicode terminal shows nothing, there is no prompt, and echo is off. If i type :q<C-R> I get echo and shell prompt back, but no colorized output. So I added vim option -V21/tmp/vimlog in /usr/bin/vimcat, tried again and found many vimscript errors in the log file. Some errors concern the vim surround plugin. My ~/.vim folder is empty but for zero-sized files vimrc and vimpagerrc. File ~/.vimcatrc has only line set noloadplugins in it. I'm running x86_64 Linux From Scratch 7.5. I compiled vim from sources. I attach a zip archive with rc files (in ./root) and log files (in ./tmp). Thanks.

issue-23.zip

@rkitover
Copy link
Owner

I think the problem is that you didn't enable conceal in vim, I'll see if I can fix this.

rkitover added a commit that referenced this issue Jan 30, 2016
Check if the value returned by synconcealed is empty because the conceal
feature is not abled, and set it to [0] in this case.
@rkitover
Copy link
Owner

I can't figure out how to compile vim with or without conceal right now, but I think I fixed it, please try master.

@rkitover
Copy link
Owner

Ok I tried this on a vim with -conceal and it works.

@step-
Copy link
Author

step- commented Jan 30, 2016

It works for me as well now, vimcat filename. Thanks for this quick fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants