Skip to content

Commit 67208a2

Browse files
authored
Merge pull request #2041 from h-east/update-syntax
Update syntax.{txt,jax}
2 parents 6a507eb + 8b59f27 commit 67208a2

File tree

2 files changed

+31
-10
lines changed

2 files changed

+31
-10
lines changed

Diff for: doc/syntax.jax

+15-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*syntax.txt* For Vim バージョン 9.1. Last change: 2025 Mar 27
1+
*syntax.txt* For Vim バージョン 9.1. Last change: 2025 Apr 15
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -2324,11 +2324,15 @@ Makefileではエラーを見つけやすくするためにコマンドがハイ
23242324
23252325
:let make_no_comments = 1
23262326
2327-
Microsoft Makefile は変数の展開とコメントを異なる方法で処理する (エスケープに
2328-
バックスラッシュは使用されない)。このために間違ったハイライトが表示される場合
2329-
は、以下を試すこと: >
2327+
Make には様々な実装があり、POSIX 仕様以外の拡張機能を追加するため、相互に互換
2328+
性がない。ファイル名が BSDmakefile または GNUmakefile の場合、対応する実装は自
2329+
動的に決定される。それ以外の場合は、vim はファイルの内容から実装を検出しようと
2330+
する。これによりハイライトが正しく表示されない場合は、以下のいずれかを設定する
2331+
ことで特定のフレーバーを強制できる: >
23302332
2331-
:let make_microsoft = 1
2333+
:let g:make_flavor = 'bsd' " または
2334+
:let g:make_flavor = 'gnu' " または
2335+
:let g:make_flavor = 'microsoft'
23322336
23332337
23342338
MAPLE *maple.vim* *ft-maple-syntax*
@@ -2381,6 +2385,12 @@ MATHEMATICA *mma.vim* *ft-mma-syntax* *ft-mathematica-syntax*
23812385
23822386
let filetype_m = "mma"
23832387
2388+
MBSYNC *mbsync.vim* *ft-mbsync-syntax*
2389+
2390+
mbsync アプリケーションは、設定ファイルを使用してメールボックス名、ユーザー名、
2391+
パスワードを設定する。`.mbsyncrc` で終わるファイル、または `isyncrc` という名
2392+
前のファイルはすべて、mbsynci 設定ファイルとして認識される。
2393+
23842394
MEDIAWIKI *ft-mediawiki-syntax*
23852395

23862396
デフォルトでは、構文のハイライトにはスタイルやヘッダーなどの基本的な HTML タグ

Diff for: en/syntax.txt

+16-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*syntax.txt* For Vim version 9.1. Last change: 2025 Mar 27
1+
*syntax.txt* For Vim version 9.1. Last change: 2025 Apr 15
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -2393,11 +2393,16 @@ Comments are also highlighted by default. You can turn this off by using: >
23932393
23942394
:let make_no_comments = 1
23952395
2396-
Microsoft Makefile handles variable expansion and comments differently
2397-
(backslashes are not used for escape). If you see any wrong highlights
2398-
because of this, you can try this: >
2396+
There are various Make implementations, which add extensions other than the
2397+
POSIX specification and thus are mutually incompatible. If the filename is
2398+
BSDmakefile or GNUmakefile, the corresponding implementation is automatically
2399+
determined; otherwise vim tries to detect it by the file contents. If you see
2400+
any wrong highlights because of this, you can enforce a flavor by setting one
2401+
of the following: >
23992402
2400-
:let make_microsoft = 1
2403+
:let g:make_flavor = 'bsd' " or
2404+
:let g:make_flavor = 'gnu' " or
2405+
:let g:make_flavor = 'microsoft'
24012406
24022407
24032408
MAPLE *maple.vim* *ft-maple-syntax*
@@ -2451,6 +2456,12 @@ have the following in your .vimrc: >
24512456
24522457
let filetype_m = "mma"
24532458
2459+
MBSYNC *mbsync.vim* *ft-mbsync-syntax*
2460+
2461+
The mbsync application uses a configuration file to setup mailboxes names,
2462+
user and password. All files ending with `.mbsyncrc` or with the name
2463+
`isyncrc` will be recognized as mbsync configuration files.
2464+
24542465
MEDIAWIKI *ft-mediawiki-syntax*
24552466

24562467
By default, syntax highlighting includes basic HTML tags like style and

0 commit comments

Comments
 (0)