[llvm] r242266 - [vim] Add the IR's comment prefix to the comments list. This allows vim

Chandler Carruth chandlerc at gmail.com
Tue Jul 14 18:36:50 PDT 2015


Author: chandlerc
Date: Tue Jul 14 20:36:50 2015
New Revision: 242266

URL: http://llvm.org/viewvc/llvm-project?rev=242266&view=rev
Log:
[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.

Modified:
    llvm/trunk/utils/vim/ftplugin/llvm.vim

Modified: llvm/trunk/utils/vim/ftplugin/llvm.vim
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/vim/ftplugin/llvm.vim?rev=242266&r1=242265&r2=242266&view=diff
==============================================================================
--- llvm/trunk/utils/vim/ftplugin/llvm.vim (original)
+++ llvm/trunk/utils/vim/ftplugin/llvm.vim Tue Jul 14 20:36:50 2015
@@ -9,3 +9,4 @@ let b:did_ftplugin = 1
 
 setlocal softtabstop=2 shiftwidth=2
 setlocal expandtab
+setlocal comments+=:;





More information about the llvm-commits mailing list