Skip to content

Commit 0e63abd

Browse files
committed
font-lock: remove "foreign export" highlight
"foreign export" isn't a thing in PureScript. It's a legacy from haskell-mode, remove it.
1 parent f105f90 commit 0e63abd

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

purescript-font-lock.el

-7
Original file line numberDiff line numberDiff line change
@@ -230,13 +230,6 @@ Returns keywords suitable for `font-lock-keywords'."
230230
(2 (symbol-value 'purescript-keyword-face) nil lax))
231231

232232
(,reservedsym 1 (symbol-value 'purescript-operator-face))
233-
;; Special case for `foreign export'
234-
;; keywords in foreign export statements but are not otherwise reserved.
235-
("\\<\\(foreign\\)[ \t]+\\(export\\)[ \t]+\\(?:\\(ccall\\|stdcall\\|cplusplus\\|jvm\\|dotnet\\)[ \t]+\\)?"
236-
(1 (symbol-value 'purescript-keyword-face) nil lax)
237-
(2 (symbol-value 'purescript-keyword-face) nil lax)
238-
(3 (symbol-value 'purescript-keyword-face) nil lax))
239-
240233
;; Toplevel Declarations.
241234
;; Place them *before* generic id-and-op highlighting.
242235
(,topdecl-var (1 (symbol-value 'purescript-definition-face)))

0 commit comments

Comments
 (0)