[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.

llvm-svn: 242266

llvm/utils/vim/ftplugin/llvm.vim

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