Skip to content
Emacs mode for PureScript
Emacs Lisp Makefile
Branch: master
Clone or download
Pull request Compare This branch is 20 commits ahead, 1782 commits behind haskell:master.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples bulk rename/convert/strip to purescript May 26, 2014
snippets bulk rename/convert/strip to purescript May 26, 2014
tests bulk rename/convert/strip to purescript May 26, 2014
.gitignore bulk rename/convert/strip to purescript May 26, 2014
.travis.yml Rename `test` Makefile target to `check` Jun 9, 2013
Makefile bulk rename/convert/strip to purescript May 26, 2014
NEWS bulk rename/convert/strip to purescript May 26, 2014
README.md
logo.svg Use notifications.el rather than notify.el (as it ships with Emacs) Aug 8, 2012
purescript-align-imports.el bulk rename/convert/strip to purescript May 26, 2014
purescript-collapse.el bulk rename/convert/strip to purescript May 26, 2014
purescript-decl-scan.el Add support for "derive instance" syntax in purescript-decl-scan Sep 25, 2017
purescript-font-lock.el bulk rename/convert/strip to purescript May 26, 2014
purescript-indent.el bulk rename/convert/strip to purescript May 26, 2014
purescript-indentation.el bulk rename/convert/strip to purescript May 26, 2014
purescript-mode-pkg.el.in bulk rename/convert/strip to purescript May 26, 2014
purescript-mode.el make fill-paragraph work for doc comments Jan 20, 2018
purescript-mode.texi bulk rename/convert/strip to purescript May 26, 2014
purescript-move-nested.el bulk rename/convert/strip to purescript May 26, 2014
purescript-navigate-imports.el bulk rename/convert/strip to purescript May 26, 2014
purescript-package.el bulk rename/convert/strip to purescript May 26, 2014
purescript-presentation-mode.el bulk rename/convert/strip to purescript May 26, 2014
purescript-show.el bulk rename/convert/strip to purescript May 26, 2014
purescript-simple-indent.el bulk rename/convert/strip to purescript May 26, 2014
purescript-sort-imports.el bulk rename/convert/strip to purescript May 26, 2014
purescript-str.el bulk rename/convert/strip to purescript May 26, 2014
purescript-string.el bulk rename/convert/strip to purescript May 26, 2014
purescript-unicode-input-method.el Remove non existing unicode operators Dec 3, 2017
purescript-utils.el bulk rename/convert/strip to purescript May 26, 2014
purescript-yas.el bulk rename/convert/strip to purescript May 26, 2014

README.md

PureScript Mode for Emacs

This is the PureScript mode package for Emacs.

To report problems or suggestions, please open an issue in the issue tracker.

Below is a brief setup guide.

Quick Emacs rundown

When Emacs is started up, it normally loads the Emacs initialization file usually called ~/.emacs, ~/.emacs.el, or ~/.emacs.d/init.el; with ~ standing for for your home directory. This file should contain all of your personal customisations written as a series of Emacs Lisp commands. In the following sections, this file will simply be referred to as the .emacs file.

Installation

GNU Emacs version 23 or later is officially supported. It may work with other Emacsen, but we don't have the resources to support other versions.

Installation from Git

  • git clone https://github.com/dysinger/purescript-mode.git into a suitable directory, e.g. ~/lib/emacs/purescript-mode/ where ~ stands for your home directory.

  • Assuming you have unpacked the various purescript-mode modules (purescript-mode.el and the rest) in the directory ~/lib/emacs/purescript-mode/, you need generate the autoloads file (purescript-mode-autoloads.el) by either

    • Invoking make purescript-mode-autoloads.el, or make all (use this to perform byte-compilation and Info manual generation)

    • From inside Emacs, M-x update-directory-autoloads and answering the question for the folder with ~/lib/emacs/purescript-mode/ and the question for the output-file with ~/lib/emacs/purescript-mode/purescript-mode-autoloads.el

    and then adding the following command to your .emacs:

    (add-to-list 'load-path "~/lib/emacs/purescript-mode/")
    (require 'purescript-mode-autoloads)
    (add-to-list 'Info-default-directory-list "~/lib/emacs/purescript-mode/")
  • After updating your purescript-mode working directory, you need to re-run make all or M-x update-directory-autoloads.

Basic Configuration

For setup instructions, please consult the new integrated purescript-mode Info manual which can be accessed after installation via M-x info-display-manual [RET] purescript-mode.

Support

Contributing

Please make sure your pull requests are at least properly rebased and up to date.

You can’t perform that action at this time.