[clang] Improve instructions in Clang Format Vim Integration Document (PR #102730)

via cfe-commits cfe-commits at lists.llvm.org
Sat Aug 10 00:27:40 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-clang

Author: ccn (cuppajoeman)

<details>
<summary>Changes</summary>

added a link to where you can download the file.

---
Full diff: https://github.com/llvm/llvm-project/pull/102730.diff


1 Files Affected:

- (modified) clang/docs/ClangFormat.rst (+2-1) 


``````````diff
diff --git a/clang/docs/ClangFormat.rst b/clang/docs/ClangFormat.rst
index dbd9c91ae508e5..e30dea3568fcf3 100644
--- a/clang/docs/ClangFormat.rst
+++ b/clang/docs/ClangFormat.rst
@@ -164,7 +164,8 @@ Vim Integration
 There is an integration for :program:`vim` which lets you run the
 :program:`clang-format` standalone tool on your current buffer, optionally
 selecting regions to reformat. The integration has the form of a `python`-file
-which can be found under `clang/tools/clang-format/clang-format.py`.
+which can be found under `clang/tools/clang-format/clang-format.py 
+<https://github.com/llvm/llvm-project/tree/main/clang/tools/clang-format>`_.
 
 This can be integrated by adding the following to your `.vimrc`:
 

``````````

</details>


https://github.com/llvm/llvm-project/pull/102730


More information about the cfe-commits mailing list