yegortimoshenko wrote:
> Indent files for some languages (clojure.vim, scala.vim, sml.vim) set
> default shiftwidth, while others (most, including javascript.vim,
> ruby.vim) don't. This causes the latter to default to 1 tab per
> indentation level in Vim, even though e.g. JavaScript and Ruby is
> typically indented with 2 spaces in the wild. That could certainly use
> some streamlining, and I believe It'd be great if Vim used
> community-accepted standard indentation for all languages by default,
> but there might be a reverse-compatibility issue too.
>
> Most indent files haven't been updated for the last 5 years, and I
> might be missing historical perspective.
> So what do you think?
Mostly changes to indent setting upset users. If nobody complains,
there is just a theoretical cleanup idea, better leave it alone.
The reasoning is that some languages have a preferred or recommended
style. If that is widely supported then the indent script can use those
values. If not, then better keep whatever the user has set. One can
always set the values in an "after" script.
--
A cow comes flying over the battlements, lowing aggressively. The cow
lands on GALAHAD'S PAGE, squashing him completely.
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
/// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\
///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org///
\\\help me help AIDS victims -- http://ICCF-Holland.org///
--
--
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
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.