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 3737(require 'purescript-string )
3838(require 'purescript-font-lock )
3939(require 'cl-lib )
40+ (cl-eval-when 'compile (require 'find-file ))
4041
4142; ; All functions/variables start with `(literate-)purescript-'.
4243
@@ -341,7 +342,9 @@ see documentation for that variable for more details."
341342 (set (make-local-variable 'dabbrev-case-replace ) nil )
342343 (set (make-local-variable 'dabbrev-abbrev-char-regexp ) " \\ sw\\ |[.]" )
343344 (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" ))))
345348 (when (bound-and-true-p purescript-font-lock-symbols)
346349 (warn " `purescript-font-lock-symbols' is obsolete: please enable `prettify-symbols-mode' locally or globally instead." ))
347350 )
You can’t perform that action at this time.
0 commit comments