Restore AsciiDoc lexer
[geany-mirror.git] / data / filedefs / filetypes.ruby
blob2d2ff6508ebd0df360e93679759884b9c3779dc5
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 require_relative 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 # these characters define word boundaries when making selections and searching
52 # using word matching options
53 #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
55 # single comments, like # in this file
56 comment_single=#
57 # multiline comments
58 #comment_open==begin
59 #comment_close==end
61 # set to false if a comment character/string should start at column 0 of a line, true uses any
62 # indentation of the line, e.g. setting to true causes the following on pressing CTRL+d
63 # #command_example();
64 # setting to false would generate this
65 # # command_example();
66 # This setting works only for single line comments
67 comment_use_indent=true
69 # context action command (please see Geany's main documentation for details)
70 context_action_cmd=
72 [indentation]
73 #width=4
74 # 0 is spaces, 1 is tabs, 2 is tab & spaces
75 #type=1
77 [build-menu]
78 # %f will be replaced by the complete filename
79 # %e will be replaced by the filename without extension
80 FT_00_LB=_Compile
81 FT_00_CM=ruby -wc "%f"
82 FT_00_WD=
83 EX_00_LB=_Execute
84 EX_00_CM=ruby "%f"
85 EX_00_WD=