Skip to content

Commit 4a0e08e

Browse files
authored
Merge pull request #2003 from h-east/update-syntax
Update syntax.{txt,jax}
2 parents 462ae7d + 472a990 commit 4a0e08e

File tree

2 files changed

+31
-2
lines changed

2 files changed

+31
-2
lines changed

doc/syntax.jax

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*syntax.txt* For Vim バージョン 9.1. Last change: 2025 Mar 10
1+
*syntax.txt* For Vim バージョン 9.1. Last change: 2025 Mar 15
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -1263,6 +1263,20 @@ CWEB *cweb.vim* *ft-cweb-syntax*
12631263
使用する: >
12641264
:let filetype_w = "cweb"
12651265
1266+
CSHARP *cs.vim* *ft-cs-syntax*
1267+
1268+
C# の生文字列リテラルでは、任意の数の引用符を使用してブロックをカプセル化でき
1269+
る。また、生補間文字列リテラルでは任意の数の中括弧を使用して補間をカプセル化で
1270+
きる。例: >
1271+
1272+
$$$""""Hello {{{name}}}""""
1273+
<
1274+
デフォルトでは、Vim は 3~8 個の引用符と 1~8 個の補間括弧をハイライトする。
1275+
認識される引用符と括弧の最大数は、以下の変数を使用して設定できる:
1276+
1277+
変数 デフォルト ~
1278+
g:cs_raw_string_quote_count 8
1279+
g:cs_raw_string_interpolation_brace_count 8
12661280

12671281
DART *dart.vim* *ft-dart-syntax*
12681282

en/syntax.txt

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*syntax.txt* For Vim version 9.1. Last change: 2025 Mar 10
1+
*syntax.txt* For Vim version 9.1. Last change: 2025 Mar 15
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1286,6 +1286,21 @@ doesn't work for you, or you don't edit Progress at all, use this in your
12861286
startup vimrc: >
12871287
:let filetype_w = "cweb"
12881288
1289+
CSHARP *cs.vim* *ft-cs-syntax*
1290+
1291+
C# raw string literals may use any number of quote marks to encapsulate the
1292+
block, and raw interpolated string literals may use any number of braces to
1293+
encapsulate the interpolation, e.g. >
1294+
1295+
$$$""""Hello {{{name}}}""""
1296+
<
1297+
By default, Vim highlights 3-8 quote marks, and 1-8 interpolation braces.
1298+
The maximum numbers of quotes and braces recognized can configured using the
1299+
following variables:
1300+
1301+
Variable Default ~
1302+
g:cs_raw_string_quote_count 8
1303+
g:cs_raw_string_interpolation_brace_count 8
12891304

12901305
DART *dart.vim* *ft-dart-syntax*
12911306

0 commit comments

Comments
 (0)