Skip to content

Syntax issues #35

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

Merged
merged 9 commits into from
Oct 19, 2017
Merged

Syntax issues #35

merged 9 commits into from
Oct 19, 2017

Conversation

coot
Copy link
Contributor

@coot coot commented Aug 15, 2017

No description provided.

Marcin Szamotulski added 2 commits August 15, 2017 20:01
* add purescriptClassDecl region
  - import class
  - class statement
  - higlight class keyword and class name
* higlight instances

Issues: purescript-contrib#22, purescript-contrib#23
Marcin Szamotulski added 7 commits August 21, 2017 23:14
* indent class and remove '|' from operator characters

If '|' was included then there is extra indent in
```
class RowLacking (entry :: Type)
                 (key :: Symbol)
                 (typ :: Type)
                 (row :: # Type) |
		 >>
                 entry typ -> key row
```

* indent pattern guards

* guard against class
* if the previous line contains `| otherwise` find the first line that
  does not start with `|` (actually find the first line that starts with
  `\k`, '^\%(\s*|\)\@!' did not work inside indent function for some
  reason.
@coot coot merged commit ece34d9 into purescript-contrib:master Oct 19, 2017
@coot coot deleted the syntax-issues branch October 19, 2017 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant