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
- Host: GitHub
- URL: https://github.com/justinwoo/new-purescript-mode
- Owner: justinwoo
- Created: 2019-01-06T02:02:52.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-07-09T11:36:43.000Z (almost 7 years ago)
- Last Synced: 2025-03-18T15:48:36.752Z (about 1 year ago)
- Topics: emacs, purescript
- Language: Emacs Lisp
- Homepage:
- Size: 16.6 KB
- Stars: 12
- Watchers: 4
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
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)
```