Updated to KickAssembler 3.36 changes

This commit is contained in:
2014-08-12 21:38:03 +02:00
parent 9d32c3b942
commit 55efc1d2c4
2 changed files with 9 additions and 4 deletions

View File

@@ -22,7 +22,7 @@ You can also add to your vimrc file autocommand:
autocmd BufRead *.asm set filetype=kickass
From now on, all files with extension 'asm' will have brand new kickass
From now on, all files with extension *asm* will have brand new kickass
syntax.
Enjoy.
@@ -32,4 +32,4 @@ Enjoy.
.. _Vundle: https://github.com/gmarik/Vundle.vim
.. _NeoBundle: https://github.com/Shougo/neobundle.vim
.. _BitBucket: https://bitbucket.org/gryf/kickass-syntax-vim
.. _GitHub: https://bitbucket.org/gryf/kickass-syntax-vim
.. _GitHub: https://github.com/gryf/kickass-syntax-vim

View File

@@ -1,10 +1,12 @@
" Vim syntax file
" Language: Assembler, KickAssembler
" Maintainer: Roman 'gryf' Dobosz <gryf_esm@o2.pl>
" Last Change: 2012-07-22
" Version: 1.2
" Last Change: 2014-08-12
" Version: 1.3
"
" Changelog:
" 1.3 Updated to KickAssembler 3.36 changes (added addAll and uget* methods)
"
" 1.2 Updated to KickAssembler 3.25 changes
"
" 1.1 Since in assembly languages 'everything is a label' there pretty hard
@@ -240,6 +242,7 @@ syn match kickAssMethod "\.\<remove\>("he=e-1,hs=s+1
syn match kickAssMethod "\.\<shuffle\>("he=e-1,hs=s+1
syn match kickAssMethod "\.\<reverse\>("he=e-1,hs=s+1
syn match kickAssMethod "\.\<sort\>("he=e-1,hs=s+1
syn match kickAssMethod "\.\<addAll\>("he=e-1,hs=s+1
" READY.
" Hash - already defined names: get, remove
@@ -292,6 +295,8 @@ syn keyword kickAssConstant BD_C64FILE BF_BITMAP_SINGLECOLOR BF_KOALA BF_FLI
syn match kickAssFunction "\<LoadBinary\>("he=e-1
syn match kickAssMethod "\.\<getSize\>("he=e-1,hs=s+1
syn match kickAssFunction "\<LoadBinary\>("he=e-1
syn match kickAssMethod "\.\<uget[a-zA-Z0-9]*\>("he=e-1,hs=s+1
" Graphics files
syn match kickAssFunction "\<LoadPicture\>("he=e-1