aboutsummaryrefslogtreecommitdiff
path: root/runtime/syntax/masm.vim
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-04-28 01:30:18 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-04-28 21:29:56 -0400
commit3d86857f28f0c9b93c5f56c8ce846ddd26ddbf38 (patch)
treec07f8ea0a77c21ff178fc83820a8a80927c7ff45 /runtime/syntax/masm.vim
parent038ce7a5aff96838b4bc7ccaf6fcfd2644168c2b (diff)
downloadrneovim-3d86857f28f0c9b93c5f56c8ce846ddd26ddbf38.tar.gz
rneovim-3d86857f28f0c9b93c5f56c8ce846ddd26ddbf38.tar.bz2
rneovim-3d86857f28f0c9b93c5f56c8ce846ddd26ddbf38.zip
vim-patch:2cfb4a2a7248
Update runtime files https://github.com/vim/vim/commit/2cfb4a2a7248eeb40112bb482ab5b15f01b20433
Diffstat (limited to 'runtime/syntax/masm.vim')
-rw-r--r--runtime/syntax/masm.vim7
1 files changed, 4 insertions, 3 deletions
diff --git a/runtime/syntax/masm.vim b/runtime/syntax/masm.vim
index bb3c9681bc..abee78b86d 100644
--- a/runtime/syntax/masm.vim
+++ b/runtime/syntax/masm.vim
@@ -2,8 +2,7 @@
" Language: Microsoft Macro Assembler (80x86)
" Orig Author: Rob Brady <robb@datatone.com>
" Maintainer: Wu Yongwei <wuyongwei@gmail.com>
-" Last Change: $Date: 2013/11/13 11:49:24 $
-" $Revision: 1.48 $
+" Last Change: 2020-05-07 17:04:10 +0800
" Quit when a syntax file was already loaded
if exists("b:current_syntax")
@@ -13,10 +12,12 @@ endif
let s:cpo_save = &cpo
set cpo&vim
+setlocal iskeyword=@,48-57,_,36,60,62,63,@-@
+
syn case ignore
-syn match masmIdentifier "[@a-z_$?][@a-z0-9_$?]*"
+syn match masmIdentifier "[@a-z_$?][@a-z0-9_$?<>]*"
syn match masmLabel "^\s*[@a-z_$?][@a-z0-9_$?]*:"he=e-1
syn match masmDecimal "[-+]\?\d\+[dt]\?"