[docs] Fix old path for clang-format
The path in vimrc was old, replace it with <path-to-this-file> to be consistent with above.
This commit is contained in:
parent
d40f4636c4
commit
439209dbcb
|
@ -168,7 +168,7 @@ your `.vimrc`:
|
||||||
|
|
||||||
function! Formatonsave()
|
function! Formatonsave()
|
||||||
let l:formatdiff = 1
|
let l:formatdiff = 1
|
||||||
pyf ~/llvm/tools/clang/tools/clang-format/clang-format.py
|
pyf <path-to-this-file>/clang-format.py
|
||||||
endfunction
|
endfunction
|
||||||
autocmd BufWritePre *.h,*.cc,*.cpp call Formatonsave()
|
autocmd BufWritePre *.h,*.cc,*.cpp call Formatonsave()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue