On 01-Jun-2010 16:43, Ben Fritz wrote:
I am fine with tabs or spaces for indentation. I am NOT fine with a
mixture of the two. From the previous modeline, I assumed that the
intent was a tab-based indent. You are free to change the tabstop to
view the file, but if you edit the file using a 'shiftwidth' and
'tabstop' value that differ, the indentation will become a mixture of
tabs and spaces, so that changing tabstop no longer looks right.

Personal preferences aside, the syntax/2html.vim looks like a correct softtabstop=2 to me; I use this setting all the time, and Vim supports it well. (Cp. :help 'softtabstop'). The only downside is that you should keep ts=8, and not mess with 'shiftwidth' and related settings while editing. In that regard, it's less flexible than a pure tab or space-indented format, you're right.

-- regards, ingo

--
You received this message from the "vim_dev" 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

Raspunde prin e-mail lui