diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-01-12 21:31:21 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-01-12 21:31:21 +0100 |
commit | 555cdc2f8cf2911739714d6b701d6bd09e219208 (patch) | |
tree | d7efc5c259cb4fc5ab824b2aa7e97599d3f138b7 /runtime/syntax/asm.vim | |
parent | 3e8cb58725fa717caef1730a963dfcb12d8d9763 (diff) | |
download | vim-555cdc2f8cf2911739714d6b701d6bd09e219208.zip |
Updated runtime files.
Diffstat (limited to 'runtime/syntax/asm.vim')
-rw-r--r-- | runtime/syntax/asm.vim | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/runtime/syntax/asm.vim b/runtime/syntax/asm.vim index 09bfe4fac..40756de95 100644 --- a/runtime/syntax/asm.vim +++ b/runtime/syntax/asm.vim @@ -1,10 +1,12 @@ " Vim syntax file " Language: GNU Assembler -" Maintainer: Kevin Dahlhausen <kdahlhaus@yahoo.com> -" Last Change: 2002 Sep 19 +" Maintainer: Erik Wognsen <erik.wognsen@gmail.com> +" Previous maintainer: +" Kevin Dahlhausen <kdahlhaus@yahoo.com> +" Last Change: 2010 Jan 9 " For version 5.x: Clear all syntax items -" For version 6.x: Quit when a syntax file was already loaded +" For version 6.0 and later: Quit when a syntax file was already loaded if version < 600 syntax clear elseif exists("b:current_syntax") @@ -13,7 +15,6 @@ endif syn case ignore - " storage types syn match asmType "\.long" syn match asmType "\.ascii" @@ -44,9 +45,8 @@ syn match octNumber "0[0-7][0-7]\+" syn match hexNumber "0[xX][0-9a-fA-F]\+" syn match binNumber "0[bB][0-1]*" - -syn match asmSpecialComment ";\*\*\*.*" -syn match asmComment ";.*"hs=s+1 +syn match asmComment "#.*" +syn region asmComment start="/\*" end="\*/" syn match asmInclude "\.include" syn match asmCond "\.if" @@ -86,15 +86,9 @@ if version >= 508 || !exists("did_asm_syntax_inits") HiLink octNumber Number HiLink binNumber Number - HiLink asmSpecialComment Comment HiLink asmIdentifier Identifier HiLink asmType Type - " My default color overrides: - " hi asmSpecialComment ctermfg=red - " hi asmIdentifier ctermfg=lightcyan - " hi asmType ctermbg=black ctermfg=brown - delcommand HiLink endif |