From: 依云 Date: Mon, 22 Jun 2026 19:43:17 +0000 (+0000) Subject: runtime(beancount): Add support for non-ASCII account names X-Git-Tag: v9.2.0706~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc6d0d418d7508a0c9ec55306b937ba18d2cca25;p=thirdparty%2Fvim.git runtime(beancount): Add support for non-ASCII account names closes: #20597 Signed-off-by: 依云 Signed-off-by: Christian Brabandt --- diff --git a/runtime/syntax/beancount.vim b/runtime/syntax/beancount.vim index 4909c4bc08..78d505eebb 100644 --- a/runtime/syntax/beancount.vim +++ b/runtime/syntax/beancount.vim @@ -2,6 +2,7 @@ " Language: beancount " Maintainer: Nathan Grigg " Latest Revision: 2024-11-25 +" 2026 Jun 22 by Vim Project: allow non-ASCII account names if exists("b:current_syntax") finish @@ -16,7 +17,7 @@ syn match beanAmount "\v[-+]?[[:digit:].,]+" nextgroup=beanCurrency contained \ skipwhite syn match beanCurrency "\v\w+" contained " Account name: alphanumeric with at least one colon. -syn match beanAccount "\v[[:alnum:]]+:[-[:alnum:]:]+" contained +syn match beanAccount "\v[[:alnum:]]+:\S+" contained syn match beanTag "\v#[-[:alnum:]]+" contained syn match beanLink "\v\^\S+" contained " We must require a space after the flag because you can have flags per