Skip to content
Vim syntax highlighting definition for Notch's DCPU-16 assembly language
VimL
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
README.md
dcpu.vim

README.md

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 *.dasm16,*.dasm setf dcpu

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

Something went wrong with that request. Please try again.