Skip to content
This repository was archived by the owner on Jan 4, 2019. It is now read-only.

Fix highlighting of multiple function definitions on one line#6

Open
RagnarGrootKoerkamp wants to merge 1 commit intourso:masterfrom
RagnarGrootKoerkamp:master
Open

Fix highlighting of multiple function definitions on one line#6
RagnarGrootKoerkamp wants to merge 1 commit intourso:masterfrom
RagnarGrootKoerkamp:master

Conversation

@RagnarGrootKoerkamp
Copy link

This commit fixes the highlighting of definitions like:

f, g :: Bool
f = True
g = False

I don't think it breaks any other existing highlighting patterns.
The hs_FunctionName is less restrictive now, but since it can only occur inside `hs_DeclareFunction' and 'hs_Function', everything should be fine.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant