Tab indentation?

I’d like to use tabs for indentation. I’ve set tab width to 4 spaces in Settings->Configure Kate->Editor->Editing.

I use [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 off; indent-width 0; Wildcards=*.rb

Unfortunately the auto indenter does the following: “tab space space space” when it should be just “tab” without the spaces! Has anyone an idea how to do that?

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.