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

Highlight synatax_files not included in compiled binary #261

Closed
winks opened this issue Jul 31, 2018 · 3 comments
Closed

Highlight synatax_files not included in compiled binary #261

winks opened this issue Jul 31, 2018 · 3 comments
Labels
🐛 bug "Houston, we've had a problem." 👍 confirmed

Comments

@winks
Copy link

winks commented Jul 31, 2018

What's the problem?

Downloaded 0.1.0 on Ubuntu 16.04 and ran it.

the bottom right window (of 4 in a square, 1 status at the very bottom) displays:

┌─ Text File  ~/.config/wtf/config.yml─┐ 
│open /home/florian/code/go/src/github.│
│com/senorprogrammer/wtf/vendor/github.│
│com/zyedidia/highlight/syntax_files:  │
│no such file or directory 

How did you expect it to behave?

"No config file found" or "missing dependency: highlight/syntax_files

I am actually unsure if it tries to load something dynamically after startup.

@senorprogrammer
Copy link
Collaborator

I believe that's a missing dependency. Are you using the binary or compiling from source?

@senorprogrammer senorprogrammer added 🐛 bug "Houston, we've had a problem." 🔍 investigating labels Jul 31, 2018
@winks
Copy link
Author

winks commented Jul 31, 2018

downloaded the binary release, that's why I'm puzzled

@senorprogrammer
Copy link
Collaborator

senorprogrammer commented Jul 31, 2018

Oh, I bet I know what's going on. The highlight package contains a directory of yaml files that it uses to highlight syntax. They're not being included in the compiled binary. As a work-around for the time being, you can install them via: go get github.com/zyedidia/highlight if you have Go installed.

And thanks for catching that and opening an issue on it! I appreciate it.

@senorprogrammer senorprogrammer changed the title Missing config gives weird error Highlight synatax_files not included in compiled binary Jul 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug "Houston, we've had a problem." 👍 confirmed
Development

No branches or pull requests

2 participants