+djasper On Tue Nov 04 2014 at 10:53:30 AM Hans Wennborg <[email protected]> wrote:
> On Sun, Nov 2, 2014 at 10:27 PM, Saleem Abdulrasool > <[email protected]> wrote: > > Author: compnerd > > Date: Sun Nov 2 15:27:59 2014 > > New Revision: 221108 > > > > URL: http://llvm.org/viewvc/llvm-project?rev=221108&view=rev > > Log: > > clang-format: permit setting the path to clang in vimrc > > > > If g:clang_format_path is set in the vimrc, that path will take > precedence over > > the hard coded path (which is reliant on the PATH environment > variable). This > > provides an easy mechanism for switching the selected clang-format > binary during > > development. > > This breaks the Vim integration for me: > > Traceback (most recent call last): > File "<string>", line 1, in <module> > File "/work/llvm/tools/clang/tools/clang-format/clang-format.py", > line 30, in <module> > binary = vim.eval('g:clang_format_path') > vim.error: Vim:E121: Undefined variable: g:clang_format_path > > > (I've worked around this locally by setting g:clang_format_path, but > it might break others too.) > _______________________________________________ > cfe-commits mailing list > [email protected] > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits >
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
