File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 37
37
(require 'purescript-string )
38
38
(require 'purescript-font-lock )
39
39
(require 'cl-lib )
40
+ (cl-eval-when 'compile (require 'find-file ))
40
41
41
42
; ; All functions/variables start with `(literate-)purescript-'.
42
43
@@ -341,7 +342,9 @@ see documentation for that variable for more details."
341
342
(set (make-local-variable 'dabbrev-case-replace ) nil )
342
343
(set (make-local-variable 'dabbrev-abbrev-char-regexp ) " \\ sw\\ |[.]" )
343
344
(setq-local beginning-of-defun-function 'purescript-beginning-of-defun )
344
- (setq prettify-symbols-alist purescript-font-lock-prettify-symbols-alist)
345
+ (setq prettify-symbols-alist purescript-font-lock-prettify-symbols-alist
346
+ ; ; make (ff-find-other-file) find .js FFI file, given .purs
347
+ ff-other-file-alist '((" .purs\\ '" (" .js" ))))
345
348
(when (bound-and-true-p purescript-font-lock-symbols)
346
349
(warn " `purescript-font-lock-symbols' is obsolete: please enable `prettify-symbols-mode' locally or globally instead." ))
347
350
)
You can’t perform that action at this time.
0 commit comments