-
-
Notifications
You must be signed in to change notification settings - Fork 30
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
OCaml parser and first functions added #21
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are couple of warnings, let's try to avoid it as possible.
In toplevel form:
ts-fold.el:457:1:Warning: variable ‘_’ not left unused
ts-fold.el:457:1:Warning: Unused lexical argument ‘offset’
ts-fold.el:473:1:Warning: variable ‘_’ not left unused
ts-fold.el:473:1:Warning: Unused lexical argument ‘offset’
ts-fold.el:489:1:Warning: variable ‘_’ not left unused
ts-fold.el:489:1:Warning: Unused lexical argument ‘offset’
ts-fold.el:515:1:Warning: variable ‘_’ not left unused
ts-fold.el:515:1:Warning: Unused lexical argument ‘offset’
3bb9f9c
to
fcdc407
Compare
I got rid of the warnings by enclosing the when-let in an unless |
Can you update our README file as well? Add OCaml to supported languages list! Thanks! |
I think you name the function to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some warnings we should address:
ts-fold.el:474:1:Warning: Unused lexical argument ‘offset’
ts-fold.el:488:1:Warning: Unused lexical argument ‘offset’
ts-fold.el:502:1:Warning: Unused lexical argument ‘offset’
ts-fold.el:522:1:Warning: Unused lexical argument ‘offset’
Others LGTM! Thanks for the hard work! ❤️ Let me know if this is ready to merge! Thanks!
This update allows to fold comments, value, type and module definitions if they're not on one line only I'm not sure about the one line rule but it seems strange to fold a value that fits on one line
Should be good now! Thanks! :) |
This update allows to fold comments, value, type and module definitions if they're not on one line only
I'm not sure about the one line rule but it seems strange to fold a value that fits on one line
resolves #18