Add --no-scm configure option to bypass SCM detection
[geany-mirror.git] / data / filetypes.ruby
blobfb8f0494023acafea41bc1d80053d7a1f22c479e
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 # the following characters are these which a "word" can contains, see documentation
49 #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
51 # single comments, like # in this file
52 comment_single=#
53 # multiline comments
54 #comment_open==begin
55 #comment_close==end
57 # set to false if a comment character/string should start at column 0 of a line, true uses any
58 # indentation of the line, e.g. setting to true causes the following on pressing CTRL+d
59 #command_example();
60 # setting to false would generate this
61 # command_example();
62 # This setting works only for single line comments
63 comment_use_indent=true
65 # context action command (please see Geany's main documentation for details)
66 context_action_cmd=
68 [indentation]
69 #width=4
70 # 0 is spaces, 1 is tabs, 2 is tab & spaces
71 #type=1
73 [build_settings]
74 # %f will be replaced by the complete filename
75 # %e will be replaced by the filename without extension
76 # (use only one of it at one time)
77 compiler=ruby -c "%f"
78 run_cmd=ruby "%f"