Merge pull request #3648 from techee/nim_lexer
[geany-mirror.git] / data / filedefs / filetypes.pascal
blob22a7aba562586c6a618682d361e4f7ff67037cb8
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 identifier=identifier_1
6 comment=comment
7 comment2=comment_doc
8 commentline=comment_line
9 preprocessor=preprocessor
10 preprocessor2=preprocessor
11 number=number_1
12 hexnumber=number_1
13 word=keyword_1
14 string=string
15 stringeol=string_eol
16 character=character
17 operator=operator
18 asm=number_2
21 [keywords]
22 # all items must be in one line
23 primary=absolute abstract add and array as asm assembler automated begin boolean break byte case cdecl char class const constructor contains default deprecated destructor dispid dispinterface div do downto dynamic else end except export exports external far file final finalization finally for forward function goto if implementation implements in index inherited initialization inline integer interface is label library message mod name near nil nodefault not object of on or out overload override package packed pascal platform private procedure program property protected public published raise read readonly real record register reintroduce remove repeat requires resourcestring safecall sealed set shl shr static stdcall stored strict string then threadvar to try type unit unsafe until uses var varargs virtual while with word write writeonly xor
25 [lexer_properties]
26 # only highlight keywords like read,write if in appropriate context
27 lexer.pascal.smart.highlighting=1
29 [settings]
30 # default extension used when saving files
31 extension=pas
33 # MIME type
34 mime_type=text/x-pascal
36 # these characters define word boundaries when making selections and searching
37 # using word matching options
38 #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
40 # single comments, like # in this file
41 comment_single=//
42 # multiline comments
43 comment_open={
44 comment_close=}
46 # set to false if a comment character/string should start at column 0 of a line, true uses any
47 # indentation of the line, e.g. setting to true causes the following on pressing CTRL+d
48 #               #command_example();
49 # setting to false would generate this
50 # #             command_example();
51 # This setting works only for single line comments
52 comment_use_indent=true
54 # context action command (please see Geany's main documentation for details)
55 context_action_cmd=
57 [indentation]
58 #width=4
59 # 0 is spaces, 1 is tabs, 2 is tab & spaces
60 #type=1
62 [build-menu]
63 # %f will be replaced by the complete filename
64 # %e will be replaced by the filename without extension
65 FT_00_LB=_Compile
66 FT_00_CM=fpc -s "%f"
67 FT_00_WD=
68 FT_01_LB=_Build
69 FT_01_CM=fpc "%f"
70 FT_01_WD=
71 FT_02_LB=_Run script
72 FT_02_CM=instantfpc "%f"
73 FT_02_WD=
74 EX_00_LB=_Execute
75 EX_00_CM="./%e"
76 EX_00_WD=