Skip to content

Update syntax.{txt,jax} #2041

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 21, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 15 additions & 5 deletions doc/syntax.jax
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*syntax.txt* For Vim バージョン 9.1. Last change: 2025 Mar 27
*syntax.txt* For Vim バージョン 9.1. Last change: 2025 Apr 15


VIMリファレンスマニュアル by Bram Moolenaar
Expand Down Expand Up @@ -2324,11 +2324,15 @@ Makefileではエラーを見つけやすくするためにコマンドがハイ

:let make_no_comments = 1

Microsoft Makefile は変数の展開とコメントを異なる方法で処理する (エスケープに
バックスラッシュは使用されない)。このために間違ったハイライトが表示される場合
は、以下を試すこと: >
Make には様々な実装があり、POSIX 仕様以外の拡張機能を追加するため、相互に互換
性がない。ファイル名が BSDmakefile または GNUmakefile の場合、対応する実装は自
動的に決定される。それ以外の場合は、vim はファイルの内容から実装を検出しようと
する。これによりハイライトが正しく表示されない場合は、以下のいずれかを設定する
ことで特定のフレーバーを強制できる: >

:let make_microsoft = 1
:let g:make_flavor = 'bsd' " または
:let g:make_flavor = 'gnu' " または
:let g:make_flavor = 'microsoft'


MAPLE *maple.vim* *ft-maple-syntax*
Expand Down Expand Up @@ -2381,6 +2385,12 @@ MATHEMATICA *mma.vim* *ft-mma-syntax* *ft-mathematica-syntax*

let filetype_m = "mma"

MBSYNC *mbsync.vim* *ft-mbsync-syntax*

mbsync アプリケーションは、設定ファイルを使用してメールボックス名、ユーザー名、
パスワードを設定する。`.mbsyncrc` で終わるファイル、または `isyncrc` という名
前のファイルはすべて、mbsynci 設定ファイルとして認識される。

MEDIAWIKI *ft-mediawiki-syntax*

デフォルトでは、構文のハイライトにはスタイルやヘッダーなどの基本的な HTML タグ
Expand Down
21 changes: 16 additions & 5 deletions en/syntax.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*syntax.txt* For Vim version 9.1. Last change: 2025 Mar 27
*syntax.txt* For Vim version 9.1. Last change: 2025 Apr 15


VIM REFERENCE MANUAL by Bram Moolenaar
Expand Down Expand Up @@ -2393,11 +2393,16 @@ Comments are also highlighted by default. You can turn this off by using: >

:let make_no_comments = 1

Microsoft Makefile handles variable expansion and comments differently
(backslashes are not used for escape). If you see any wrong highlights
because of this, you can try this: >
There are various Make implementations, which add extensions other than the
POSIX specification and thus are mutually incompatible. If the filename is
BSDmakefile or GNUmakefile, the corresponding implementation is automatically
determined; otherwise vim tries to detect it by the file contents. If you see
any wrong highlights because of this, you can enforce a flavor by setting one
of the following: >

:let make_microsoft = 1
:let g:make_flavor = 'bsd' " or
:let g:make_flavor = 'gnu' " or
:let g:make_flavor = 'microsoft'


MAPLE *maple.vim* *ft-maple-syntax*
Expand Down Expand Up @@ -2451,6 +2456,12 @@ have the following in your .vimrc: >

let filetype_m = "mma"

MBSYNC *mbsync.vim* *ft-mbsync-syntax*

The mbsync application uses a configuration file to setup mailboxes names,
user and password. All files ending with `.mbsyncrc` or with the name
`isyncrc` will be recognized as mbsync configuration files.

MEDIAWIKI *ft-mediawiki-syntax*

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