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

(rough draft) Highlight parameters of multi-line module, function signatures. #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

voussoir
Copy link
Contributor

@voussoir voussoir commented Aug 31, 2021

Hi,

I wanted to improve the syntax so that it would highlight the parameters inside a multi-line module signature. Before these changes, multi-line modules were unhighlighted or wrongly highlighted:

2021-08-30_23-19-02

Now they look like this:

2021-08-30_23-19-12

HOWEVER, I am quite sure I made some collateral damage in the sense that the original patterns captured the entire module/function definitions, and my patterns are more focused on getting the delimiters to highlight the stuff in the middle. I am really bad at understanding these tmlangs and basically copied some of Python's and then banged my head against the wall until it barely worked. I'm making this pull request to introduce the topic but if you close this and rewrite it yourself that'd be totally great with me.

Thanks very much for your time and effort.

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

Successfully merging this pull request may close these issues.

1 participant