]> granicus.if.org Git - clang/commitdiff
docs: remove double carriage-return
authorSaleem Abdulrasool <compnerd@compnerd.org>
Sun, 2 Nov 2014 21:27:52 +0000 (21:27 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Sun, 2 Nov 2014 21:27:52 +0000 (21:27 +0000)
The double carriage return would silence a warning due to a missing
.clang-format.  Permit the error to bubble through.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@221107 91177308-0d34-0410-b5e6-96231b3b80d8

docs/ClangFormat.rst
tools/clang-format/clang-format.py

index b37241786b49663d32052dff589c2cdccafe16d5..45ea32717995877a2f01d411779b2823967717d7 100644 (file)
@@ -96,8 +96,8 @@ This can be integrated by adding the following to your `.vimrc`:
 
 .. code-block:: vim
 
-  map <C-K> :pyf <path-to-this-file>/clang-format.py<cr><cr>
-  imap <C-K> <c-o>:pyf <path-to-this-file>/clang-format.py<cr><cr>
+  map <C-K> :pyf <path-to-this-file>/clang-format.py<cr>
+  imap <C-K> <c-o>:pyf <path-to-this-file>/clang-format.py<cr>
 
 The first line enables :program:`clang-format` for NORMAL and VISUAL mode, the
 second line adds support for INSERT mode. Change "C-K" to another binding if
index 487b9ed48e114fff1a80750e80cbc622e80be3ac..3bb89e04b19f2e2a8b27512f2e937b57272c55a3 100644 (file)
@@ -3,7 +3,7 @@
 # - Add to your .vimrc:
 #
 #   map <C-I> :pyf <path-to-this-file>/clang-format.py<cr>
-#   imap <C-I> <c-o>:pyf <path-to-this-file>/clang-format.py<cr><cr>
+#   imap <C-I> <c-o>:pyf <path-to-this-file>/clang-format.py<cr>
 #
 # The first line enables clang-format for NORMAL and VISUAL mode, the second
 # line adds support for INSERT mode. Change "C-I" to another binding if you