public
Description: A collection of scripts and configuration files that make gedit a more rails-friendly IDE
Homepage: http://blog.pggbee.com
Clone URL: git://github.com/mig/gedit-rails.git
gedit-rails / rails.xml
100644 35 lines (34 sloc) 1.163 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?xml version="1.0" encoding="UTF-8"?>
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
  <mime-type type="text/erb">
    <sub-class-of type="text/html"/>
    <comment>ERB Template</comment>
    <glob pattern="*.erb" />
    <glob pattern="*.rhtml"/>
    <magic priority="11">
      <match value="&lt;%" type="string" offset="0"/>
    </magic>
  </mime-type>
  <mime-type type="application/x-ruby">
    <alias type="application/ruby" />
    <comment xml:lang="en">Ruby Rake Tasks</comment>
    <glob pattern="*.rake"/>
  </mime-type>
  <mime-type type="application/x-ruby">
    <comment xml:lang="en">Rakefile</comment>
    <glob pattern="Rakefile"/>
  </mime-type>
  <mime-type type="application/x-ruby">
    <comment xml:lang="en">Ruby script</comment>
    <!-- Some Ruby on Rails source files are incorrectly recognized as VHDL,
so we override that. -->
    <magic priority="21">
      <match value="#--\n# " type="string" offset="0:10"/>
    </magic>
  </mime-type>
  <mime-type type="text/x-yaml">
    <comment xml:lang="en">YAML</comment>
    <glob pattern="*.yml"/>
    <glob pattern="*.yaml"/>
  </mime-type>
</mime-info>