1
0
Fork 0
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

9 lines
473 B
Plaintext

#!/bin/sh
f=$1
perl -pi -e 's!<font color="#6b59ce">(.*?)</font>!<span class="vim-quote">\1</span>!g' $f
perl -pi -e 's!<font color="#a52829">(.*?)</font>!<span class="vim-statement">\1</span>!g' $f
perl -pi -e 's!<font color="#ff00ff">(.*?)</font>!<span class="vim-constant">\1</span>!g' $f
perl -pi -e 's!<font color="#a520f7">(.*?)</font>!<span class="vim-control">\1</span>!g' $f
perl -pi -e 's!<font color="#008a8c">(.*?)</font>!<span class="vim-var">\1</span>!g' $f