File tree Expand file tree Collapse file tree 6 files changed +39
-45
lines changed Expand file tree Collapse file tree 6 files changed +39
-45
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on :
4
+ pull_request :
5
+ push :
6
+ paths-ignore :
7
+ - ' **.md'
8
+
9
+ jobs :
10
+ build :
11
+ runs-on : ubuntu-latest
12
+ strategy :
13
+ matrix :
14
+ emacs_version :
15
+ - 25.1
16
+ - 25.2
17
+ - 25.3
18
+ - 26.1
19
+ - 26.2
20
+ - 26.3
21
+ - 27.1
22
+ - snapshot
23
+ steps :
24
+ - uses : purcell/setup-emacs@master
25
+ with :
26
+ version : ${{ matrix.emacs_version }}
27
+
28
+ - uses : actions/checkout@v2
29
+ - name : Run tests
30
+ run : make check
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -43,9 +43,7 @@ compile: $(ELCFILES)
43
43
44
44
$(ELCHECKS ) : check-% : % .el
45
45
@$(BATCH ) --eval ' (when (check-declare-file "$*.el") (error "check-declare failed"))'
46
- @$(BATCH ) \
47
- --eval " (setq byte-compile-error-on-warn t)" \
48
- -f batch-byte-compile $* .el
46
+ @$(BATCH ) -f batch-byte-compile $* .el
49
47
@$(RM ) $* .elc
50
48
@if [ -f " $( < :%.el=tests/%-tests.el) " ]; then \
51
49
if $( BATCH) --eval " (require 'ert)" 2> /dev/null; then \
Original file line number Diff line number Diff line change
1
+ [ ![ MELPA] ( https://melpa.org/packages/purescript-mode-badge.svg )] ( https://melpa.org/#/purescript-mode )
2
+ [ ![ Build Status] ( https://github.com/purescript-emacs/purescript-mode/workflows/ci/badge.svg )] ( https://github.com/purescript-emacs/purescript-mode/actions )
3
+
1
4
PureScript Mode for Emacs
2
5
----------------------
3
6
Original file line number Diff line number Diff line change 114
114
(" ::" . ,(decode-char 'ucs 8759 ))
115
115
(" forall" . ,(decode-char 'ucs 8704 )))
116
116
" A set of symbol compositions for use as `prettify-symbols-alist' ."
117
- :group 'purescript )
117
+ :group 'purescript
118
+ :type '(repeat (cons string character)))
118
119
119
120
; ; Use new vars for the font-lock faces. The indirection allows people to
120
121
; ; use different faces than in other modes, as before.
@@ -361,6 +362,8 @@ that should be commented under LaTeX-style literate scripts."
361
362
(defvar purescript-font-lock-seen-docstring nil )
362
363
(make-variable-buffer-local 'purescript-font-lock-seen-docstring )
363
364
365
+ (defvar purescript-literate )
366
+
364
367
(defun purescript-syntactic-face-function (state )
365
368
" `font-lock-syntactic-face-function' for PureScript."
366
369
(cond
Original file line number Diff line number Diff line change @@ -1395,7 +1395,7 @@ TYPE is either 'guard or 'rpurs."
1395
1395
(let ((eqn (caar eqns-start)))
1396
1396
(setq lastpos (if (cdr eqns-start)
1397
1397
(save-excursion
1398
- (goto-char (caadr eqns-start))
1398
+ (goto-char (cl- caadr eqns-start))
1399
1399
(purescript-indent-forward-line -1 )
1400
1400
(line-end-position ))
1401
1401
end-block))
You can’t perform that action at this time.
0 commit comments