Re: [PATCH] contrib/vimrc: detect more C-like files

2020-07-23 Thread Patrick Palka via Gcc-patches
On Thu, 23 Jul 2020, Martin Liška wrote: > On 7/23/20 4:44 PM, Patrick Palka via Gcc-patches wrote: > > Here's a rebased patch. Can another Vim user verify that this does the > > right thing? > > Yes, it works correctly for me! I tested that before and after your change > for ./libstdc++-v3/incl

Re: [PATCH] contrib/vimrc: detect more C-like files

2020-07-23 Thread Martin Liška
On 7/23/20 4:44 PM, Patrick Palka via Gcc-patches wrote: Here's a rebased patch. Can another Vim user verify that this does the right thing? Yes, it works correctly for me! I tested that before and after your change for ./libstdc++-v3/include/std/iomanip. Please install the patch. Martin

Re: [PATCH] contrib/vimrc: detect more C-like files

2020-07-23 Thread Patrick Palka via Gcc-patches
On Mon, 3 Feb 2020, Patrick Palka wrote: > Currently this script doesn't set the indentation style for the standard > library > headers under libstdc++/ because they lack a file extension. But they do > have a modeline, so the file type is still set appropriately by Vim. So by > inspecting &fil