Mercurial > vim
view runtime/syntax/gitsendemail.vim @ 34290:167d80fce1b1
runtime(doc): Clarify list-concatenation a bit more
Commit: https://github.com/vim/vim/commit/c9c2e2d2ff4429a6b5876ee919f15c1dc0018e86
Author: qeatzy <qeatzy@users.noreply.github.com>
Date: Wed Feb 7 17:52:25 2024 +0100
runtime(doc): Clarify list-concatenation a bit more
Make doc list-concatenation more clear as for += and extend().
1. describe `+=` for list-concatenation more accurately
2. add `extend()` example for list-concatenation
3. Fix CI errors for missing helptags reference |+=|
closes: #13983
Signed-off-by: qeatzy <qeatzy@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 07 Feb 2024 18:00:04 +0100 |
parents | 43efa4f5a8ea |
children |
line wrap: on
line source
" Vim syntax file " Language: git send-email message " Maintainer: Tim Pope " Filenames: .gitsendemail.* " Last Change: 2016 Aug 29 if exists("b:current_syntax") finish endif runtime! syntax/mail.vim unlet! b:current_syntax syn include @gitsendemailDiff syntax/diff.vim syn region gitsendemailDiff start=/\%(^diff --\%(git\|cc\|combined\) \)\@=/ end=/^-- %/ fold contains=@gitsendemailDiff syn case match syn match gitsendemailComment "\%^From.*#.*" syn match gitsendemailComment "^GIT:.*" hi def link gitsendemailComment Comment let b:current_syntax = "gitsendemail"