[vim] Add the IR's comment prefix to the comments list. This allows vim
authorChandler Carruth <chandlerc@gmail.com>
Wed, 15 Jul 2015 01:36:50 +0000 (01:36 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Wed, 15 Jul 2015 01:36:50 +0000 (01:36 +0000)
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

utils/vim/ftplugin/llvm.vim

index 04bb9e0016966a1332bf8b2926bea05a2deba140..bdf49c92ff22bc9e43872268bb64210b3651a141 100644 (file)
@@ -9,3 +9,4 @@ let b:did_ftplugin = 1
 
 setlocal softtabstop=2 shiftwidth=2
 setlocal expandtab
+setlocal comments+=:;