Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion purescript-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
(require 'purescript-string)
(require 'purescript-font-lock)
(require 'cl-lib)
(cl-eval-when 'compile (require 'find-file))

;; All functions/variables start with `(literate-)purescript-'.

Expand Down Expand Up @@ -341,7 +342,9 @@ see documentation for that variable for more details."
(set (make-local-variable 'dabbrev-case-replace) nil)
(set (make-local-variable 'dabbrev-abbrev-char-regexp) "\\sw\\|[.]")
(setq-local beginning-of-defun-function 'purescript-beginning-of-defun)
(setq prettify-symbols-alist purescript-font-lock-prettify-symbols-alist)
(setq prettify-symbols-alist purescript-font-lock-prettify-symbols-alist
;; make (ff-find-other-file) find .js FFI file, given .purs
ff-other-file-alist '((".purs\\'" (".js"))))
(when (bound-and-true-p purescript-font-lock-symbols)
(warn "`purescript-font-lock-symbols' is obsolete: please enable `prettify-symbols-mode' locally or globally instead."))
)
Expand Down
Loading