Fix "Contributing to this document" for new HTML/PDF generation process
[geany-mirror.git] / data / filetypes.ruby
bloba173ba4f2a6d71bc35ab06ff55a5be29c16c424a
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 number=number_1
7 string=string_1
8 character=character
9 word=keyword_1
10 global=type
11 symbol=preprocessor
12 classname=class
13 defname=function
14 operator=operator
15 identifier=identifier_1
16 modulename=type
17 backticks=backticks
18 instancevar=default
19 classvar=default
20 datasection=default
21 heredelim=operator
22 worddemoted=keyword_1
23 stdin=default
24 stdout=default
25 stderr=default
26 regex=regex
27 here_q=here_doc
28 here_qq=here_doc
29 here_qx=here_doc
30 string_q=string_2
31 string_qq=string_2
32 string_qx=string_2
33 string_qr=string_2
34 string_qw=string_2
35 upper_bound=default
36 error=error
37 pod=comment_doc
39 [keywords]
40 # all items must be in one line
41 primary=__FILE__ load define_method attr_accessor attr_writer attr_reader and def end in or self unless __LINE__ begin defined? ensure module redo super until BEGIN break do false next rescue then when END case else for nil include require retry true while alias class elsif if not return undef yield
44 [settings]
45 # default extension used when saving files
46 extension=rb
48 # MIME type
49 mime_type=application/x-ruby
51 # the following characters are these which a "word" can contains, see documentation
52 #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
54 # single comments, like # in this file
55 comment_single=#
56 # multiline comments
57 #comment_open==begin
58 #comment_close==end
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_settings]
77 # %f will be replaced by the complete filename
78 # %e will be replaced by the filename without extension
79 # (use only one of it at one time)
80 compiler=ruby -c "%f"
81 run_cmd=ruby "%f"