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
More information about formatting options
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.
By Juan Ignacio Pumarino R. // jipumarino at gmail.com