aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/syntax.txt
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2024-12-12 22:16:05 +0100
committerChristian Clason <ch.clason+github@icloud.com>2024-12-13 09:38:08 +0100
commit2e73ba102ac65f08fdbb6d2b87e90390abdca10c (patch)
tree4fd59305658b063d5a6b5f3acc878134f61015af /runtime/doc/syntax.txt
parent17383870dd3b7f04eddd48ed929cc25c7e102277 (diff)
downloadrneovim-2e73ba102ac65f08fdbb6d2b87e90390abdca10c.tar.gz
rneovim-2e73ba102ac65f08fdbb6d2b87e90390abdca10c.tar.bz2
rneovim-2e73ba102ac65f08fdbb6d2b87e90390abdca10c.zip
vim-patch:9.1.0919: filetype: some assembler files are not recognized
Problem: filetype: some assembler are files not recognized Solution: detect '*.nasm' files as nasm filetype and '*.masm' as masm filetype (Wu, Zhenyu) closes: vim/vim#16194 https://github.com/vim/vim/commit/d66d68763d0947c292a9fdda4da6fda3650fa563 Co-authored-by: Wu, Zhenyu <wuzhenyu@ustc.edu>
Diffstat (limited to 'runtime/doc/syntax.txt')
-rw-r--r--runtime/doc/syntax.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt
index 75a855bbdd..c5d3422f62 100644
--- a/runtime/doc/syntax.txt
+++ b/runtime/doc/syntax.txt
@@ -414,12 +414,15 @@ There are many types of assembly languages that all use the same file name
extensions. Therefore you will have to select the type yourself, or add a
line in the assembly file that Vim will recognize. Currently these syntax
files are included:
- asm GNU assembly (the default)
+ asm GNU assembly (usually have .s or .S extension and were
+ already built using C compiler such as GCC or CLANG)
asm68k Motorola 680x0 assembly
asmh8300 Hitachi H-8300 version of GNU assembly
ia64 Intel Itanium 64
fasm Flat assembly (https://flatassembler.net)
- masm Microsoft assembly (probably works for any 80x86)
+ masm Microsoft assembly (.masm files are compiled with
+ Microsoft's Macro Assembler. This is only supported
+ for x86, x86_64, ARM and AARCH64 CPU families)
nasm Netwide assembly
tasm Turbo Assembly (with opcodes 80x86 up to Pentium, and
MMX)