aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2025-01-26 18:35:19 +0100
committerChristian Clason <ch.clason+github@icloud.com>2025-01-27 08:28:18 +0100
commit21aed725d2ac9ef5c6eb2ab631a6e1c3ad9b25fb (patch)
treef08601be288f841c97a444f27b39cacece41c661
parentc7d4a77ff9040c8b242f9d12a98472fe6217328c (diff)
downloadrneovim-21aed725d2ac9ef5c6eb2ab631a6e1c3ad9b25fb.tar.gz
rneovim-21aed725d2ac9ef5c6eb2ab631a6e1c3ad9b25fb.tar.bz2
rneovim-21aed725d2ac9ef5c6eb2ab631a6e1c3ad9b25fb.zip
vim-patch:db23436: runtime(asm): add byte directives to syntax script
closes: vim/vim#16523 https://github.com/vim/vim/commit/db23436b92a1b08e91146ef462482f2c1a79dfe8 Co-authored-by: Nir Lichtman <nir@lichtman.org>
-rw-r--r--runtime/syntax/asm.vim7
1 files changed, 5 insertions, 2 deletions
diff --git a/runtime/syntax/asm.vim b/runtime/syntax/asm.vim
index 73f283a4a7..18f3de1c63 100644
--- a/runtime/syntax/asm.vim
+++ b/runtime/syntax/asm.vim
@@ -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