1# Define SciTE settings for Haskell.
2
3lexer.*.hs=haskell
4filter.hs=Haskell (hs)|*.hs|
5
6*filter.hs=$(filter.hs)
7
8*language.haskell=Haskell|hs||
9
10# white space
11style.haskell.0=fore:#808080
12# identifier
13style.haskell.1=
14# keyword
15style.haskell.2=$(colour.keyword),bold
16# numbers
17style.haskell.3=$(colour.number)
18# string
19style.haskell.4=$(colour.string)
20# character
21style.haskell.5=$(colour.char)
22# class: error not implemented
23style.haskell.6=back:#FF0000
24# module
25style.haskell.7=
26# capital
27style.haskell.8=
28# data: error not implemented
29style.haskell.9=back:#FF0000
30# import: error not implemented
31style.haskell.10=back:#FF0000
32# operator
33style.haskell.11=$(colour.operator),bold
34# instance: error not implemented
35style.haskell.12=back:#FF0000
36# line comment
37style.haskell.13=$(colour.code.comment.line),$(font.code.comment.line)
38# block comment
39style.haskell.14=$(colour.code.comment.box),$(font.code.comment.box)
40# block comment 2
41style.haskell.15=$(colour.code.comment.box),$(font.code.comment.box)
42# block comment 3
43style.haskell.16=$(colour.code.comment.box),$(font.code.comment.box)
44# pragma
45style.haskell.17=fore:#BF6F00
46# preprocessor
47style.haskell.18=$(colour.preproc)
48# End of line where string is not closed
49style.haskell.19=fore:#000000,$(font.monospace),back:#E0C0E0,eolfilled
50# Reserved operator
51style.haskell.20=back:#FF8080
52
53# Available in literatehaskell lexer:
54# Literate comment
55style.haskell.21=fore:#DD9900,$(font.code.comment.line),italics
56# Literate delimiter
57style.haskell.22=fore:#EE00AA
58
59# keywords for Haskell 98
60keywordclass.haskell98=case class data default deriving do else hiding if \
61import in infix infixl infixr instance let module \
62newtype of then type where forall foreign
63
64# keywords for FFI
65keywordclass.ffi=export label dynamic safe threadsafe \
66unsafe stdcall ccall prim
67
68keywords.*.hs=$(keywordclass.haskell98)
69
70keywords2.*.hs=$(keywordclass.ffi)
71