diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2017-09-28 22:18:09 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2017-09-28 22:18:09 +0200 |
commit | 27903c5b8656c796564ef073c1ebe77a2f0154e1 (patch) | |
tree | 2b0a3a14494d7976fb79a7517706e25d2a95d080 /syntax/asmh8300.vim | |
parent | d5e38fa97bc50a93a66473d6cd7072fbcbadda57 (diff) | |
download | vim-polyglot-3.0.0.tar.gz vim-polyglot-3.0.0.zip |
Revert inlining basic language packv3.0.0
Diffstat (limited to 'syntax/asmh8300.vim')
-rw-r--r-- | syntax/asmh8300.vim | 72 |
1 files changed, 0 insertions, 72 deletions
diff --git a/syntax/asmh8300.vim b/syntax/asmh8300.vim deleted file mode 100644 index a5914367..00000000 --- a/syntax/asmh8300.vim +++ /dev/null @@ -1,72 +0,0 @@ -if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'vim') == -1 - -" Vim syntax file -" Language: Hitachi H-8300h specific syntax for GNU Assembler -" Maintainer: Kevin Dahlhausen <kdahlhaus@yahoo.com> -" Last Change: 2002 Sep 19 - -" quit when a syntax file was already loaded -if exists("b:current_syntax") - finish -endif - -syn case ignore - -syn match asmDirective "\.h8300[h]*" - -"h8300[h] registers -syn match asmReg "e\=r[0-7][lh]\=" - -"h8300[h] opcodes - order is important! -syn match asmOpcode "add\.[lbw]" -syn match asmOpcode "add[sx :]" -syn match asmOpcode "and\.[lbw]" -syn match asmOpcode "bl[deots]" -syn match asmOpcode "cmp\.[lbw]" -syn match asmOpcode "dec\.[lbw]" -syn match asmOpcode "divx[us].[bw]" -syn match asmOpcode "ext[su]\.[lw]" -syn match asmOpcode "inc\.[lw]" -syn match asmOpcode "mov\.[lbw]" -syn match asmOpcode "mulx[su]\.[bw]" -syn match asmOpcode "neg\.[lbw]" -syn match asmOpcode "not\.[lbw]" -syn match asmOpcode "or\.[lbw]" -syn match asmOpcode "pop\.[wl]" -syn match asmOpcode "push\.[wl]" -syn match asmOpcode "rotx\=[lr]\.[lbw]" -syn match asmOpcode "sha[lr]\.[lbw]" -syn match asmOpcode "shl[lr]\.[lbw]" -syn match asmOpcode "sub\.[lbw]" -syn match asmOpcode "xor\.[lbw]" -syn keyword asmOpcode "andc" "band" "bcc" "bclr" "bcs" "beq" "bf" "bge" "bgt" -syn keyword asmOpcode "bhi" "bhs" "biand" "bild" "bior" "bist" "bixor" "bmi" -syn keyword asmOpcode "bne" "bnot" "bnp" "bor" "bpl" "bpt" "bra" "brn" "bset" -syn keyword asmOpcode "bsr" "btst" "bst" "bt" "bvc" "bvs" "bxor" "cmp" "daa" -syn keyword asmOpcode "das" "eepmov" "eepmovw" "inc" "jmp" "jsr" "ldc" "movfpe" -syn keyword asmOpcode "movtpe" "mov" "nop" "orc" "rte" "rts" "sleep" "stc" -syn keyword asmOpcode "sub" "trapa" "xorc" - -syn case match - - -" Read the general asm syntax -runtime! syntax/asm.vim - - -" Define the default highlighting. -" Only when an item doesn't have highlighting yet - -hi def link asmOpcode Statement -hi def link asmRegister Identifier - -" My default-color overrides: -"hi asmOpcode ctermfg=yellow -"hi asmReg ctermfg=lightmagenta - - -let b:current_syntax = "asmh8300" - -" vim: ts=8 - -endif |