]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(asm): add byte directives to syntax script
authorNir Lichtman <nir@lichtman.org>
Sun, 26 Jan 2025 15:55:54 +0000 (16:55 +0100)
committerChristian Brabandt <cb@256bit.org>
Sun, 26 Jan 2025 15:55:54 +0000 (16:55 +0100)
closes: #16523

Signed-off-by: Nir Lichtman <nir@lichtman.org>
Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/syntax/asm.vim

index 73f283a4a76c2c1e0ff22156c150bc818ab42dd8..18f3de1c63bf6a7d2774f7fc5eb7bc1537096237 100644 (file)
@@ -3,8 +3,8 @@
 " Maintainer:          Doug Kearns dougkearns@gmail.com
 " Previous Maintainers: Erik Wognsen <erik.wognsen@gmail.com>
 "                      Kevin Dahlhausen <kdahlhaus@yahoo.com>
-" Contributors:                Ori Avtalion, Lakshay Garg
-" Last Change:         2020 Oct 31
+" Contributors:                Ori Avtalion, Lakshay Garg, Nir Lichtman
+" Last Change:         2025 Jan 26
 
 " quit when a syntax file was already loaded
 if exists("b:current_syntax")
@@ -32,6 +32,9 @@ syn match asmType "\.single"
 syn match asmType "\.space"
 syn match asmType "\.string"
 syn match asmType "\.word"
+syn match asmType "\.2byte"
+syn match asmType "\.4byte"
+syn match asmType "\.8byte"
 
 syn match asmIdentifier                "[a-z_][a-z0-9_]*"
 syn match asmLabel             "[a-z_][a-z0-9_]*:"he=e-1