-
Notifications
You must be signed in to change notification settings - Fork 1
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
utf8 makefile etc. #1
Comments
Thanks! I released a new version which tries to read all files as utf8 with https://doc.rust-lang.org/std/string/struct.String.html#method.from_utf8_lossy , this is obviously not a very good solution, but might be better than nothing for now, detecting the real encoding and converting is a nontrivial task but I'll try to find a solution. I use https://docs.rs/syntect/2.0.0/syntect/parsing/struct.SyntaxSet.html#method.find_syntax_for_file for finding the syntax for a file so I'd have to hardcode support for makefiles :/ |
Thanks. New versions works fine for non utf8 files. |
I released a new version that should fix it, Makefiles should work without needing a custom syntax already |
Thanks! Now all works fine. |
Do you really mean .plist files when they are saved in binary or the xml version? the xml version should work with v0.5.1 now. |
Saved in binary, for xml highlight works good |
Hm, I'll see what I can do but that's not as easy as the other feature requests |
I previously used qlcolorcode for plist(include binary saved),xml, bash(.etc) and source code.tauQL for "public.data" and plain-text. |
hex view for binaries is implemented now, I'll look into binary plists next |
Binary plists should work now too! |
Thanks! |
Firstly - Thank for the nice plugin.
For Makefile(without extension) no highlight, for Makefile.mk etc. - all ok.
Cuesheet:
if *.cue not utf8 encoding QLSyntaxHighlight show blank window, convert *.cue to utf8 and QLSyntaxHighlight show *.cue with syntax highlight
The text was updated successfully, but these errors were encountered: