Re: Autoindenting for non - C files
- On Wed, 31 Jul 2002, David Fishburn wrote:
> There is cinwords = cinwords=if,else,while,do,for,switch thatOr create indent file (look in vim61\indent\ for examples)
> automatically tells vim to indent when it encounters them.
> If I am editing a SQL file, I would like to do the same thing.
> I noticed that cinwords is already set (with the same values above) but
> nothing happens.
> I was wondering what else controls this and what changes will I have to
> make automatically set this up.
> If VIM is capable of doing it, I expect I should create a file in:
You can also try to find something on http://vim.sf.net
But I don't know if there are only syntax files (for various sql dialects)
or something more.