Restore AsciiDoc lexer
[geany-mirror.git] / data / filedefs / filetypes.haskell
blob0a5ba98e4de4630c9095993fc8c8add2702c1bc0
1 # For complete documentation of this file, please see Geany's main documentation
2 [styling]
3 # Edit these in the colorscheme .conf file instead
4 default=default
5 commentline=comment_line
6 commentblock=comment
7 commentblock2=comment
8 commentblock3=comment
9 literate_comment=comment
10 literate_codedelim=preprocessor
11 number=number_1
12 keyword=keyword_1
13 reserved_operator=keyword_1
14 import=preprocessor
15 string=string_1
16 character=character
17 class=class
18 operator=operator
19 identifier=identifier_1
20 instance=type
21 capital=type
22 module=function
23 data=number_2
24 pragma=preprocessor
25 preprocessor=preprocessor
26 stringeol=string_eol
28 [keywords]
29 # all items must be in one line
30 keywords=case class data default deriving do else forall foreign if import in infix infixl infixr instance let module newtype of then type where
31 ffi=capi ccall export import interruptible prim safe stdcall unsafe
32 reserved_operators=-> .. :: <- = => @ \ | ~ ← → ∀ ∷ ★
34 [lexer_properties]
35 lexer.haskell.allow.hash=1
36 lexer.haskell.allow.quotes=1
37 lexer.haskell.allow.questionmark=0
38 lexer.haskell.import.safe=1
39 lexer.haskell.cpp=1
40 styling.within.preprocessor=0
41 fold.haskell.imports=0
43 [settings]
44 # default extension used when saving files
45 extension=hs
47 # MIME type
48 mime_type=text/x-haskell
50 # these characters define word boundaries when making selections and searching
51 # using word matching options
52 #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
54 # single comments, like # in this file
55 comment_single=--\s
56 # multiline comments
57 comment_open={-
58 comment_close=-}
60 # set to false if a comment character/string should start at column 0 of a line, true uses any
61 # indentation of the line, e.g. setting to true causes the following on pressing CTRL+d
62 # #command_example();
63 # setting to false would generate this
64 # # command_example();
65 # This setting works only for single line comments
66 comment_use_indent=true
68 # context action command (please see Geany's main documentation for details)
69 context_action_cmd=
71 [indentation]
72 #width=4
73 # 0 is spaces, 1 is tabs, 2 is tab & spaces
74 #type=1
76 [build-menu]
77 # %f will be replaced by the complete filename
78 # %e will be replaced by the filename without extension
79 FT_00_LB=_Compile
80 FT_00_CM=ghc --make "%f"
81 FT_00_WD=
82 FT_02_LB=_Lint
83 FT_02_CM=hlint "%f"
84 FT_02_WD=
85 EX_00_LB=_Execute
86 EX_00_CM="./%e"
87 EX_00_WD=