> hi list,
> I'm learning scheme right now(but i still love vim :) ), but scheme
> indent isn't very well from my point of view, I want to make the
> indent of scheme to be tab instead of space.
> I think this might be configurable, so i edit /usr/share/vim/
> vimcurrent/indent/lisp.vim but it only do one thing!(setlocal ai
> nosi),
> I could not figure out anything from the help page of ai, is this
> configurable?
Tabs vs. spaces has nothing to do with what language you are editing.
You set it up yourself, using the 'expandtab' option.
In your case, you want to:
:setlocal noexpandtab
This will work best if your 'shiftwidth' option has the same value as
your 'tabstop' option.
You can set this up for just a given filetype in your .vimrc, like:
autocmd FileType scheme setlocal noexpandtab shiftwidth=2 tabstop=2
or similar.
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
No comments:
Post a Comment