2016-01-26 22:10 GMT+03:00 Bram Moolenaar <vim-dev-git...@256bit.org>:
> > Takuya Fujiwara wrote: > > > > However, for some file formats there is a recommended or even > > > enforced indent policy. > > > > I agree. > > I want to know the reason why some plugins set `shiftwidth` or > > `softtabstop`. > > If it is NOT a enforced indent policy for the filetype, I don't think it > should change `shiftwidth` or `softtabstop`. > > > > And though this is my humble assumption, all indent plugins listed > > above don't seem to have a enforced indent policy. > > It seems a just recommended setting by who wrote this setting (Maybe > > maintainer). > > Or, If indent policy is strongly recommended by its programming > > language coding guideline, I think it is valid. > > > > At least, I suppose you know the reason well for zimbu.vim :) > > Yes, since Zimbu is a new language we can enforce a certain style. > And it doesn't allow any tabs. Reduces the choices that a programmer > has to make, less time wasted on discussions about coding style. > And makes the code easier to read. The fact that tabs are banned in the spec justifies only setting &expandtab. But I do not see Zimbu specification talking about exact amount of spaces indentation, so &shiftwidth or &softtabstop settings should not be there (or specification should be updated; I did not read it though, just searched for “space” and “indent”). > > > -- > hundred-and-one symptoms of being an internet addict: > 45. You buy a Captain Kirk chair with a built-in keyboard and mouse. > > /// 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 /// > > — > Reply to this email directly or view it on GitHub > <https://github.com/vim/vim/pull/578#issuecomment-175182451>. > > -- > -- > 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. > -- -- 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.