An open API service indexing awesome lists of open source software.

https://github.com/justinwoo/new-purescript-mode

A new, simple purescript mode for cheap syntax highlighting
https://github.com/justinwoo/new-purescript-mode

emacs purescript

Last synced: about 1 year ago
JSON representation

A new, simple purescript mode for cheap syntax highlighting

Awesome Lists containing this project

README

          

# New PureScript Mode

This is a PureScript Emacs mode I am putting together to replace my own usage of [purescript-mode](https://github.com/dysinger/purescript-mode), which is a fork of haskell-mode. While it is amazing that haskell-mode itself is code that has been migrated and committed to since 1992, it features a huge amount of code that is simply unused. As my own need for a PureScript mode is limited to syntax highlighting and *some* alignment, I will focus on getting that working in some simple way.

For any IDE related functionality, install [psc-ide-emacs](https://github.com/epost/psc-ide-emacs).

## Goals

* Cheap syntax highlighting
* Indentation via SMIE or some other method not involving parsing in elisp

## TODO

* Indentation
* Misc.

## Installation

```lisp
(add-to-list 'load-path (expand-file-name "~/Code/new-purescript-mode/"))
(require 'new-purescript-mode)
```

If you are using Spacemacs, consider telling it to not mess with indentation:

```lisp
(add-to-list 'spacemacs-indent-sensitive-modes 'purescript-mode)
```