summaryrefslogtreecommitdiff
path: root/utils/vim
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2015-07-15 01:36:50 +0000
committerChandler Carruth <chandlerc@gmail.com>2015-07-15 01:36:50 +0000
commit11325f48fc933ac364625c30eebdd7e55c203dc1 (patch)
treecdacc07c181721fa568246f92cbff13a0e7085c8 /utils/vim
parent5f34535cedbf7a9201a55460e5869e691de7fbd5 (diff)
[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
Diffstat (limited to 'utils/vim')
-rw-r--r--utils/vim/ftplugin/llvm.vim1
1 files changed, 1 insertions, 0 deletions
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+=:;