Jakub Zawadzki wrote:
Hi,
Why there's tabstop=8, but file is indented with 2 spaces?
How should <tab> key works in these files?
If you want to mark that \t in files are bad, let at least set
softtabstop=2 to make using <tab> sane.
Without starting any new discussion, my only intent is that any tabs in
a Wireshark source file are always displayed as going to a column
position of 9, 17, ... (where the left-most column is numbered as 1).
In any case, there are at least 25 or 30 other Wireshark files (besides
those I changed) with ex/vi modelines which have shiftwidth different
than tabstop.
I presume those ex/vi modelines should also have tabstop the same as
shiftwidth to allow the use of a <tab key> in ex/vi/vim to cause an
indentation equivalent to shiftwidth (whether or not a <tab character>
is actually inserted in the file).
(I'm not really that familiar with the ex/vi/vim editors. Is a modeline
prefixed by ex: also used by vi ??)