Skip to content

Releases: purescript-contrib/purescript-vim

Version 1.0.0

19 Oct 09:33
Compare
Choose a tag to compare
Syntax issues (#35)

* syntax

* add purescriptClassDecl region
  - import class
  - class statement
  - higlight class keyword and class name
* higlight instances

Issues: #22, #23

* remove commented code

* Indent (#44)

* 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.

* Fixed #48

* Fixed #49