Here's a Ruby section for

Here’s a Ruby section for .kde/share/config/katefiletyperc. Please note that there’s just one Variables line and that you have to create the file if it doesn’t exist.

[Ruby]
Mimetypes=application/x-ruby
Section=Scripts
Variables=kate: indent-mode varindent; var-indent-indent-after ^( )*(if|while|def|class|for).*|\\{[^\\}]*$|else|elsif|rescue|do|begin; var-indent-indent; var-indent-unindent end|else|elsif|rescue|^[^\\{]*\\}; var-indent-triggerchars }def; space-indent on; indent-width 2;
Wildcards=*.rb

By Juan Ignacio Pumarino R. // jipumarino at gmail.com

Reply

  • You can use Markdown syntax to format and style the text.
  • You may link to images on this site using a special syntax
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Copy the characters (respecting upper/lower case) from the image.