From 8bbed0b63a24ebced1a726daf47712ed6cced57d Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Sun, 2 Nov 2014 21:27:52 +0000 Subject: docs: remove double carriage-return 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 | 4 ++-- clang/tools/clang-format/clang-format.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/clang/docs/ClangFormat.rst b/clang/docs/ClangFormat.rst index b37241786b4..45ea3271799 100644 --- a/clang/docs/ClangFormat.rst +++ b/clang/docs/ClangFormat.rst @@ -96,8 +96,8 @@ This can be integrated by adding the following to your `.vimrc`: .. code-block:: vim - map :pyf /clang-format.py - imap :pyf /clang-format.py + map :pyf /clang-format.py + imap :pyf /clang-format.py 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 diff --git a/clang/tools/clang-format/clang-format.py b/clang/tools/clang-format/clang-format.py index 487b9ed48e1..3bb89e04b19 100644 --- a/clang/tools/clang-format/clang-format.py +++ b/clang/tools/clang-format/clang-format.py @@ -3,7 +3,7 @@ # - Add to your .vimrc: # # map :pyf /clang-format.py -# imap :pyf /clang-format.py +# imap :pyf /clang-format.py # # 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 -- cgit v1.2.3