Syntax file and other settings for DynASM.
Can be installed via Vim add-in manager such as Plug, Vundle or Pathogen.
Once the files are installed the syntax highlighting will be
automatically enabled anytime you edit a .dasc
file.
Also global variable g:DascArch
is set to the name of the corresponding
CPU architecture:
"x86"
"x64"
"arm"
"arm64"
"mips"
"mips64"
"ppc"
and can be used for your own needs. If architecture is unknown variable contains an empty string.
If you want to create your own syntax groups declare them as
contained to @dascExtra
cluster.
Syntax highlighting for DynASM supports the following DynASM arches:
For these architectures syntax file is adapted from Shirk/vim-gas repository. It looks like:
For this architecture syntax file is adapted from ARM9/arm-syntax-vim repository. It looks like:
For this architecture syntax file is adapted from compnerd/arm64asm repository. It looks like:
For these architectures syntax file is adapted from harenome/vim-mipssyntax repository. It looks like:
For this architecture syntax file is adapted from gerard/dotfiles repository. It looks like:
Please report bugs or asked questions at issues. Pull requests are welcome!
You may be interested in after syntax extension for LuaJIT DynASM highlighting.