summaryrefslogtreecommitdiffstats
path: root/llvm/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
commite993a16d0a0a32045bb12518b5efab3557debfab (patch)
tree37eccaa2bb5fd6b7b14e20a1bee87fc2ca5f009c /llvm/utils/vim
parent6923461a163d8c094bef4ea9ce2b8b9a82ec2140 (diff)
downloadbcm5719-llvm-e993a16d0a0a32045bb12518b5efab3557debfab.tar.gz
bcm5719-llvm-e993a16d0a0a32045bb12518b5efab3557debfab.zip
[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. llvm-svn: 242266
Diffstat (limited to 'llvm/utils/vim')
-rw-r--r--llvm/utils/vim/ftplugin/llvm.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/utils/vim/ftplugin/llvm.vim b/llvm/utils/vim/ftplugin/llvm.vim
index 04bb9e00169..bdf49c92ff2 100644
--- a/llvm/utils/vim/ftplugin/llvm.vim
+++ b/llvm/utils/vim/ftplugin/llvm.vim
@@ -9,3 +9,4 @@ let b:did_ftplugin = 1
setlocal softtabstop=2 shiftwidth=2
setlocal expandtab
+setlocal comments+=:;
OpenPOWER on IntegriCloud