From: Rando Christensen Date: 2002-11-22T00:58:36+09:00 Subject: Re: identing ruby in vim Thu, 21 Nov 2002 23:59:04 +0900: Austin Ziegler (Austin Ziegler ): > Actually, the VIM filetype plugin probably shouldn't set the > indentation at all. While I've shifted to 2-space indentation Properly done, the indent file (located in indent/.vim) should only tell /when/ to indent, not /how/. this is handled by the same vim mechanisms that make < and > change your indentation, and you can set your vim up to use two spaces, a tab that'd displayed as 2 spaces, a set of eight spaces that works like tabs (as in, you hit tab to go 8 spaces, it treats it like a tab, but it's really 8 spaces in the file), etc etc etc. If a user doesn't like that, they'd turn of the indentation part of the filetyping. For example, I use: filetype plugin indent on To only use the filetyping, it would be: filetype plugin on I don't know how off the top of my head, but it's also fairly easy to set the filetyping options on a per-filetype basis- you can have perl/php/c/xml use the filetyping with indentation, and ruby only the basic filetyping. -- < There is a light that shines on the frontier > < And maybe someday, We're gonna be there. > < Rando Christensen / rando@babblica.net >