[llvm] r242266 - [vim] Add the IR's comment prefix to the comments list. This allows vim
Duncan P. N. Exon Smith
dexonsmith at apple.com
Thu Jul 16 15:20:04 PDT 2015
> On 2015-Jul-14, at 18:36, Chandler Carruth <chandlerc at gmail.com> wrote:
>
> Author: chandlerc
> Date: Tue Jul 14 20:36:50 2015
> New Revision: 242266
>
> URL: http://llvm.org/viewvc/llvm-project?rev=242266&view=rev
> Log:
> [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.
>
Thanks!
> Modified:
> llvm/trunk/utils/vim/ftplugin/llvm.vim
>
> Modified: llvm/trunk/utils/vim/ftplugin/llvm.vim
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/vim/ftplugin/llvm.vim?rev=242266&r1=242265&r2=242266&view=diff
> ==============================================================================
> --- llvm/trunk/utils/vim/ftplugin/llvm.vim (original)
> +++ llvm/trunk/utils/vim/ftplugin/llvm.vim Tue Jul 14 20:36:50 2015
> @@ -9,3 +9,4 @@ let b:did_ftplugin = 1
>
> setlocal softtabstop=2 shiftwidth=2
> setlocal expandtab
> +setlocal comments+=:;
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list