Vim syntax highlighting definition for Notch's DCPU-16 assembly language
Vim script
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 5 commits behind dcpu16:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Just pop this file into ~/.vim/syntax/.

To enable syntax highlighting, use the command :set syn=dcpu.

To automatically enable highlighting for DCPU-16 files, add the following to your .vimrc:

au BufNewFile,BufRead *.dc,*.dcpu setf dcpu

This enables DCPU-16 syntax highlighting for any files with the .dc or .dcpu extensions. (There's no official file extension yet, but something more specific than .S or .asm would be nice.)