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.

llvm-svn: 221107

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

index b372417..45ea327 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 487b9ed..3bb89e0 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