Go to file
Sławomir Bocheński 4b4bc41933 Highlight instructions with {cond} at the very end
When trying to use e.g. ADR{cond}L in the unified syntax, the GNU
assembler warns that the conditional infixes are deprecated. The
preferred form is ADRL{cond} instead. It is also in line with arm.com
and keil.com documentation.

This applies to other instructions that have optional parts (e.g. "S"
for updating condition flags) - the condition goes last.
2021-03-26 04:12:05 +01:00
img add a picture 2018-10-06 14:21:30 +02:00
syntax Highlight instructions with {cond} at the very end 2021-03-26 04:12:05 +01:00
test Add preliminary neon datatype suffix 2016-02-05 16:44:33 +01:00
.gitignore init 2015-03-08 13:58:42 +01:00
README.md add a picture 2018-10-06 14:21:30 +02:00

arm-syntax-vim

GNU ARM assembly syntax highlighting (up to v7), for the vim text editor.

A thousand words

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