From: Chandler Carruth Date: Wed, 15 Jul 2015 01:36:50 +0000 (+0000) Subject: [vim] Add the IR's comment prefix to the comments list. This allows vim X-Git-Tag: android-x86-7.1-r4~45840 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=11325f48fc933ac364625c30eebdd7e55c203dc1;p=android-x86%2Fexternal-llvm.git [vim] Add the IR's comment prefix to the comments list. This allows vim to intelligently wrap prose written in IR comment blocks. This has bothered me for roughly ever, and my fellow IRC denziens convinced me to fix it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@242266 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/vim/ftplugin/llvm.vim b/utils/vim/ftplugin/llvm.vim index 04bb9e00169..bdf49c92ff2 100644 --- a/utils/vim/ftplugin/llvm.vim +++ b/utils/vim/ftplugin/llvm.vim @@ -9,3 +9,4 @@ let b:did_ftplugin = 1 setlocal softtabstop=2 shiftwidth=2 setlocal expandtab +setlocal comments+=:;