Skip to content

Commit 8b51706

Browse files
authored
Merge pull request #1870 from h-east/update-syntax
Update syntax.{txt,jax}
2 parents 868216b + 659feb8 commit 8b51706

File tree

2 files changed

+22
-13
lines changed

2 files changed

+22
-13
lines changed

doc/syntax.jax

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*syntax.txt* For Vim バージョン 9.1. Last change: 2024 Nov 10
1+
*syntax.txt* For Vim バージョン 9.1. Last change: 2024 Dec 12
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -859,17 +859,23 @@ Apache の構文ファイルは Apache HTTP サーバーのバージョン 2.2.3
859859
"asm" には使用するアセンブリ言語の種類を指定する。
860860

861861
同じ拡張子を使用しているアセンブリ言語はたくさんある。そのため、ユーザーは自分
862-
が使っている種類を選択するか、もしくはアセンブリファイルそのものにVimがそれと
863-
判断できるような行を追加しなければならない。現在は以下の構文ファイルが利用可能:
864-
asm GNUアセンブラ(デフォルト)
865-
asm68k モトローラ680x0アセンブラ
866-
asmh8300 日立H-8300用GNUアセンブラ
867-
ia64 インテルItanium 64
862+
が使っている種類を選択するか、もしくはアセンブリファイルそのものに Vim がそれ
863+
と判断できるような行を追加しなければならない。現在は以下の構文ファイルが含まれ
864+
ている:
865+
asm GNU アセンブラ (通常は .s または .S 拡張子を持ち、GCC
866+
や CLANG などの C コンパイラを使用してすでにビルドされ
867+
ている)
868+
asm68k モトローラ 680x0 アセンブラ
869+
asmh8300 日立 H-8300 用 GNU アセンブラ
870+
ia64 インテル Itanium 64
868871
fasm Flat アセンブラ (http://flatassembler.net)
869-
masm マイクロソフトアセンブラ(たぶん80x86汎用)
872+
masm マイクロソフトアセンブラ (.masm ファイルは Microsoft の
873+
マクロアセンブラでコンパイルされる。これは x86, x86_64,
874+
ARM, AARCH64 CPU ファミリでのみサポートされる)
870875
nasm ネットワイドアセンブラ
871-
tasm ターボアセンブラ(80x86,Pentium,MMXの命令コードを含む)
872-
pic PICアセンブラ(現在はPIC16F84用)
876+
tasm ターボアセンブラ (80x86, Pentium, MMX の命令コードを含
877+
む)
878+
pic PIC アセンブラ (現在は PIC16F84 用)
873879

874880
アセンブリファイルに次のような行を書き加えるのが一番柔軟である: >
875881
asmsyntax=nasm

en/syntax.txt

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*syntax.txt* For Vim version 9.1. Last change: 2024 Nov 10
1+
*syntax.txt* For Vim version 9.1. Last change: 2024 Dec 12
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -883,12 +883,15 @@ There are many types of assembly languages that all use the same file name
883883
extensions. Therefore you will have to select the type yourself, or add a
884884
line in the assembly file that Vim will recognize. Currently these syntax
885885
files are included:
886-
asm GNU assembly (the default)
886+
asm GNU assembly (usually have .s or .S extension and were
887+
already built using C compiler such as GCC or CLANG)
887888
asm68k Motorola 680x0 assembly
888889
asmh8300 Hitachi H-8300 version of GNU assembly
889890
ia64 Intel Itanium 64
890891
fasm Flat assembly (http://flatassembler.net)
891-
masm Microsoft assembly (probably works for any 80x86)
892+
masm Microsoft assembly (.masm files are compiled with
893+
Microsoft's Macro Assembler. This is only supported
894+
for x86, x86_64, ARM and AARCH64 CPU families)
892895
nasm Netwide assembly
893896
tasm Turbo Assembly (with opcodes 80x86 up to Pentium, and
894897
MMX)

0 commit comments

Comments
 (0)