From 965da68eebe373403bcc5ea6a3b92786f0cd068b Mon Sep 17 00:00:00 2001 From: ARM9 Date: Sun, 8 Mar 2015 13:58:42 +0100 Subject: [PATCH] init --- .gitignore | 6 ++++++ README.md | 20 ++++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 .gitignore create mode 100644 README.md diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..db48a6b --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ + +.*~ +*~ +*.swp +*.tmp + diff --git a/README.md b/README.md new file mode 100644 index 0000000..2c8e89e --- /dev/null +++ b/README.md @@ -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 +``` +