2023-02-08 01:16:00 -08:00
|
|
|
# CLONE OF: https://github.com/ARM9/arm-syntax-vim
|
|
|
|
|
2018-10-06 14:14:41 +02:00
|
|
|
# arm-syntax-vim
|
2015-03-08 13:58:42 +01:00
|
|
|
|
2018-10-06 14:14:41 +02:00
|
|
|
GNU ARM assembly syntax highlighting (up to v7), for the vim text editor.
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
### Installation
|
|
|
|
Copy the [syntax](syntax) folder into your ~/.vim folder
|
|
|
|
|
|
|
|
__with Plug__
|
|
|
|
```
|
|
|
|
Plug 'ARM9/arm-syntax-vim'
|
|
|
|
```
|
2015-03-08 13:58:42 +01:00
|
|
|
__or with Pathogen__
|
2018-10-06 14:14:41 +02:00
|
|
|
|
2015-03-08 13:58:42 +01:00
|
|
|
Clone this repo into your ~/.vim/bundle directory.
|
|
|
|
```
|
|
|
|
git clone https://github.com/ARM9/arm-syntax-vim.git
|
|
|
|
```
|
|
|
|
|
|
|
|
### Using
|
|
|
|
In your .vimrc:
|
|
|
|
```
|
2015-04-01 17:45:21 +02:00
|
|
|
au BufNewFile,BufRead *.s,*.S set filetype=arm " arm = armv6/7
|
2015-03-08 13:58:42 +01:00
|
|
|
```
|
2018-10-06 14:14:41 +02:00
|
|
|
or add this line at the top or bottom of your assembly file(s):
|
2015-03-08 13:58:42 +01:00
|
|
|
```
|
2015-04-01 17:45:21 +02:00
|
|
|
@ vim:ft=armv5
|
2015-03-08 13:58:42 +01:00
|
|
|
```
|
|
|
|
|