Plugin to add syntax highlighting to the D8 assembly files used in my D8 CPU project.
Files with extension .asm
will set a filetype of d8asm
. You can also force the filetype in Vim with the command set filetype=d8asm
Clone this repository to your own vim plugins folder
cd your_vim_plugin_path; git clone https://github.com/dalehumby/vim-d8
Add to your .vimrc something like
MANAGER_NAME 'dalehumby/vim-d8'
For example, if you're using vim-plug, add this to your .vimrc
call plug#begin('~/.vim/plugged')
Plug 'dalehumby/vim-d8'
call plug#end()
Then reload your .vimrc file and run the command PlugInstall