[PATCHv5][PING^3] Vimrc config with GNU formatting

Yury Gribov y.gribov@samsung.com
Thu Nov 6 10:31:00 GMT 2014


On 10/21/2014 07:24 PM, Yury Gribov wrote:
> On 10/13/2014 02:26 PM, Yury Gribov wrote:
>> On 10/02/2014 09:14 PM, Yury Gribov wrote:
>>> On 09/17/2014 09:08 PM, Yury Gribov wrote:
>>>  > On 09/16/2014 08:38 PM, Yury Gribov wrote:
>>>  >> Hi all,
>>>  >>
>>>  >> This is the third version of the patch. A list of changes since last
>>>  >> version:
>>>  >> * move config to contrib so that it's _not_ enabled by default
>>> (current
>>>  >> score is 2/1 in favor of no Vim config by default)
>>>  >> * update Makefile.in to make .local.vimrc if developer asks for it
>>>  >> * disable autoformatting for flex files
>>>  >> * fix filtering of non-GNU sources (libsanitizer)
>>>  >> * added some small fixes in cinoptions based on feedback from
>>> community
>>>  >>
>>>  >> As noted by Richard, the config does not do a good job of formatting
>>>  >> unbound {} blocks e.g.
>>>  >> void
>>>  >> foo ()
>>>  >> {
>>>  >>    int x;
>>>  >>      {
>>>  >>        // I'm an example of bad bad formatting
>>>  >>      }
>>>  >> }
>>>  >> but it seems to be the best we can get with Vim's cindent
>>>  >> (and I don't think anyone seriously considers writing a custom
>>>  >> indentexpr).
>>>  >>
>>>  >> Ok to commit?
>>>  >
>>>  > New vesion with support for another popular local .vimrc plugin.
>>>
>>> Hi all,
>>>
>>> Here is a new vesion of vimrc patch. Hope I got email settings right
>>> this time.
>>>
>>> Changes since v4:
>>> * fixed and enhanced docs
>>> * added support for .lvimrc in Makefile
>>> * minor fixes in cinoptions and formatoptions (reported by Segher)
>>> * removed shiftwidth settings (as it does not really relate to code
>>> formatting)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: local-vimrc-5.diff
Type: text/x-patch
Size: 3602 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20141106/1e5a5150/attachment.bin>


More information about the Gcc-patches mailing list