img | ||
syntax | ||
test | ||
.gitignore | ||
README.md |
arm-syntax-vim
GNU ARM assembly syntax highlighting (up to v7), for the vim text editor.
Installation
Copy the syntax folder into your ~/.vim folder
with Plug
Plug 'ARM9/arm-syntax-vim'
or with Pathogen
Clone this repo into your ~/.vim/bundle directory.
git clone https://github.com/ARM9/arm-syntax-vim.git
Using
In your .vimrc:
au BufNewFile,BufRead *.s,*.S set filetype=arm " arm = armv6/7
or add this line at the top or bottom of your assembly file(s):
@ vim:ft=armv5