-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Vim syntax instructions & renamed theme files
- Loading branch information
Showing
5 changed files
with
18 additions
and
0 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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". |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |