init
This commit is contained in:
commit
965da68eeb
6
.gitignore
vendored
Normal file
6
.gitignore
vendored
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
|
||||||
|
.*~
|
||||||
|
*~
|
||||||
|
*.swp
|
||||||
|
*.tmp
|
||||||
|
|
20
README.md
Normal file
20
README.md
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
Syntax highlighting for GAS ARM assembly (up to v7), for the vim text editor.
|
||||||
|
|
||||||
|
### Installing
|
||||||
|
Copy /syntax into ~/.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=armv7
|
||||||
|
```
|
||||||
|
and/or put this line near the top or bottom of your assembly file(s):
|
||||||
|
```
|
||||||
|
@ vim:ft=armv6
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in New Issue
Block a user