From 11325f48fc933ac364625c30eebdd7e55c203dc1 Mon Sep 17 00:00:00 2001 From: Chandler Carruth Date: Wed, 15 Jul 2015 01:36:50 +0000 Subject: [PATCH] [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 --- utils/vim/ftplugin/llvm.vim | 1 + 1 file changed, 1 insertion(+) 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+=:; -- 2.34.1