runtime(asm): add byte directives to syntax script Commit: https://github.com/vim/vim/commit/db23436b92a1b08e91146ef462482f2c1a79dfe8 Author: Nir Lichtman <n...@lichtman.org> Date: Sun Jan 26 16:55:54 2025 +0100
runtime(asm): add byte directives to syntax script closes: https://github.com/vim/vim/issues/16523 Signed-off-by: Nir Lichtman <n...@lichtman.org> Signed-off-by: Doug Kearns <dougkea...@gmail.com> Signed-off-by: Christian Brabandt <c...@256bit.org> diff --git a/runtime/syntax/asm.vim b/runtime/syntax/asm.vim index 73f283a4a..18f3de1c6 100644 --- a/runtime/syntax/asm.vim +++ b/runtime/syntax/asm.vim @@ -3,8 +3,8 @@ " Maintainer: Doug Kearns dougkea...@gmail.com " Previous Maintainers: Erik Wognsen <erik.wogn...@gmail.com> " Kevin Dahlhausen <kdahlh...@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 -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/vim_dev/E1tc53M-0031v6-5p%40256bit.org.