| 1 |
# Subunit Vim Syntax Highlighting |
| 2 |
|
| 3 |
This directory contains Vim syntax highlighting for Subunit v1 test protocol streams. |
| 4 |
|
| 5 |
## Installation |
| 6 |
|
| 7 |
### Option 1: Manual Installation |
| 8 |
|
| 9 |
Copy the files to your Vim configuration directory: |
| 10 |
|
| 11 |
```bash |
| 12 |
cp -r syntax ~/.vim/ |
| 13 |
cp -r ftdetect ~/.vim/ |
| 14 |
``` |
| 15 |
|
| 16 |
### Option 2: Using a Plugin Manager |
| 17 |
|
| 18 |
If you use a Vim plugin manager like vim-plug, add to your `.vimrc`: |
| 19 |
|
| 20 |
```vim |
| 21 |
Plug 'path/to/subunit/vim' |
| 22 |
``` |
| 23 |
|
| 24 |
### Option 3: Pathogen |
| 25 |
|
| 26 |
If you use Pathogen: |
| 27 |
|
| 28 |
```bash |
| 29 |
cd ~/.vim/bundle |
| 30 |
ln -s /path/to/subunit/vim subunit |
| 31 |
``` |