Skip to content

Commit

Permalink
Vim syntax instructions & renamed theme files
Browse files Browse the repository at this point in the history
  • Loading branch information
ljcooke committed Mar 10, 2010
1 parent 84ead7a commit fa58001
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 0 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
11 changes: 11 additions & 0 deletions vim/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Vim syntax highlighting for Tumblr themes.

This will extend HTML syntax highlighting for files with the extension .tumblr.html
(e.g. "mytheme.tumblr.html").

Installation
============

1. Copy the syntax/tumblr.vim file to ~/.vim/syntax/tumblr.vim
2. Copy the filetype.vim file to the ~/.vim folder. If this file already
exists, just append the three lines beginning with "augroup tumblr".
7 changes: 7 additions & 0 deletions vim/filetype.vim
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
if exists("did_load_filetypes")
finish
endif

augroup tumblr
au! BufRead,BufNewFile *.tumblr.html setfiletype tumblr
augroup END

0 comments on commit fa58001

Please sign in to comment.