Merge branch 'callbacks-cleanup'
[geany-mirror.git] / data / filetypes.perl
blob0b0c7446ed8fc200c8a2b6a89400ef3baa613330
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 error=error
6 commentline=comment_line
7 number=number_1
8 word=keyword_1
9 string=string_1
10 character=character
11 preprocessor=preprocessor
12 operator=operator
13 identifier=identifier
14 scalar=identifier_1
15 pod=comment_doc
16 regex=regex
17 array=identifier_2
18 hash=identifier_3
19 symboltable=identifier_4
20 backticks=backticks
21 pod_verbatim=comment_doc_keyword
22 reg_subst=regex
23 datasection=value
24 here_delim=here_doc
25 here_q=here_doc
26 here_qq=here_doc
27 here_qx=here_doc
28 string_q=string_2
29 string_qq=string_2
30 string_qx=string_2
31 string_qr=string_2
32 string_qw=string_2
33 variable_indexer=default
34 # *_var mappings may need checking
35 string_var=identifier_1
36 regex_var=identifier_2
37 regsubst_var=identifier_2
38 backticks_var=identifier_2
39 here_qq_var=identifier_2
40 here_qx_var=identifier_2
41 string_qq_var=identifier_2
42 string_qx_var=identifier_2
43 string_qr_var=identifier_2
44 # translation: tr{}{} y{}{}
45 xlat=string_2
46 # not used
47 punctuation=default
48 # obsolete: replaced by qq, qx, qr, qw
49 longquote=here_doc
50 sub_prototype=here_doc
51 format_ident=string_2
52 format=string_2
54 [keywords]
55 primary=NULL __FILE__ __LINE__ __PACKAGE__ __DATA__ __END__ AUTOLOAD BEGIN CORE DESTROY END EQ GE GT INIT LE LT NE CHECK abs accept alarm and atan2 bind binmode bless caller chdir chmod chomp chop chown chr chroot close closedir cmp connect continue cos crypt dbmclose dbmopen defined delete die do dump each else elsif endgrent endhostent endnetent endprotoent endpwent endservent eof eq eval exec exists exit exp fcntl fileno flock for foreach fork format formline ge getc getgrent getgrgid getgrnam gethostbyaddr gethostbyname gethostent getlogin getnetbyaddr getnetbyname getnetent getpeername getpgrp getppid getpriority getprotobyname getprotobynumber getprotoent getpwent getpwnam getpwuid getservbyname getservbyport getservent getsockname getsockopt glob gmtime goto grep gt hex if index int ioctl join keys kill last lc lcfirst le length link listen local localtime lock log lstat lt m map mkdir msgctl msgget msgrcv msgsnd my ne next no not oct open opendir or ord our pack package pipe pop pos print printf prototype push q qq qr quotemeta qu qw qx rand read readdir readline readlink readpipe recv redo ref rename require reset return reverse rewinddir rindex rmdir s scalar seek seekdir select semctl semget semop send setgrent sethostent setnetent setpgrp setpriority setprotoent setpwent setservent setsockopt shift shmctl shmget shmread shmwrite shutdown sin sleep socket socketpair sort splice split sprintf sqrt srand stat study sub substr symlink syscall sysopen sysread sysseek system syswrite tell telldir tie tied time times tr truncate uc ucfirst umask undef unless unlink unpack unshift untie until use utime values vec wait waitpid wantarray warn while write x xor y
57 [lexer_properties]
58 styling.within.preprocessor=1
60 [settings]
61 # default extension used when saving files
62 extension=pl
64 # MIME type
65 mime_type=application/x-perl
67 # the following characters are these which a "word" can contains, see documentation
68 #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
70 # single comments, like # in this file
71 comment_single=#
72 # multiline comments
73 #comment_open==begin
74 #comment_close==cut
76 # set to false if a comment character/string should start at column 0 of a line, true uses any
77 # indentation of the line, e.g. setting to true causes the following on pressing CTRL+d
78 #command_example();
79 # setting to false would generate this
80 # command_example();
81 # This setting works only for single line comments
82 comment_use_indent=true
84 # context action command (please see Geany's main documentation for details)
85 context_action_cmd=
87 [indentation]
88 #width=4
89 # 0 is spaces, 1 is tabs, 2 is tab & spaces
90 #type=1
92 [build_settings]
93 # %f will be replaced by the complete filename
94 # %e will be replaced by the filename without extension
95 # (use only one of it at one time)
97 compiler=perl -cw "%f"
99 # alternatively use perlcc
100 #compiler=perlcc -o "%e" "%f"
102 run_cmd=perl "%f"
104 # Parse syntax check error messages and warnings, examples:
105 # syntax error at test.pl line 7, near "{
106 # Unknown warnings category '1' at test.pl line 13
107 error_regex=.+ at (.+) line ([0-9]+).*