[clang] Improve instructions in Clang Format Vim Integration Document (PR #102730)
via cfe-commits
cfe-commits at lists.llvm.org
Sat Aug 10 00:26:54 PDT 2024
https://github.com/cuppajoeman created https://github.com/llvm/llvm-project/pull/102730
added a link to where you can download the file.
>From b42951aac97b2660bcadb1028e623f9e70981cde Mon Sep 17 00:00:00 2001
From: cuppajoeman <ccn at cuppajoeman.com>
Date: Sat, 10 Aug 2024 03:25:15 -0400
Subject: [PATCH] update to show where you can actually get the mentioned file
---
clang/docs/ClangFormat.rst | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
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`:
More information about the cfe-commits
mailing list