mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:db23436: runtime(asm): add byte directives to syntax script
closes: vim/vim#16523
db23436b92
Co-authored-by: Nir Lichtman <nir@lichtman.org>
This commit is contained in:
parent
c7d4a77ff9
commit
21aed725d2
@ -3,8 +3,8 @@
|
|||||||
" Maintainer: Doug Kearns dougkearns@gmail.com
|
" Maintainer: Doug Kearns dougkearns@gmail.com
|
||||||
" Previous Maintainers: Erik Wognsen <erik.wognsen@gmail.com>
|
" Previous Maintainers: Erik Wognsen <erik.wognsen@gmail.com>
|
||||||
" Kevin Dahlhausen <kdahlhaus@yahoo.com>
|
" Kevin Dahlhausen <kdahlhaus@yahoo.com>
|
||||||
" Contributors: Ori Avtalion, Lakshay Garg
|
" Contributors: Ori Avtalion, Lakshay Garg, Nir Lichtman
|
||||||
" Last Change: 2020 Oct 31
|
" Last Change: 2025 Jan 26
|
||||||
|
|
||||||
" quit when a syntax file was already loaded
|
" quit when a syntax file was already loaded
|
||||||
if exists("b:current_syntax")
|
if exists("b:current_syntax")
|
||||||
@ -32,6 +32,9 @@ syn match asmType "\.single"
|
|||||||
syn match asmType "\.space"
|
syn match asmType "\.space"
|
||||||
syn match asmType "\.string"
|
syn match asmType "\.string"
|
||||||
syn match asmType "\.word"
|
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 asmIdentifier "[a-z_][a-z0-9_]*"
|
||||||
syn match asmLabel "[a-z_][a-z0-9_]*:"he=e-1
|
syn match asmLabel "[a-z_][a-z0-9_]*:"he=e-1
|
||||||
|
Loading…
Reference in New Issue
Block a user