Skip to content

Commit

Permalink
Fixed eruby subtype detection bug
Browse files Browse the repository at this point in the history
  • Loading branch information
tpope committed Apr 25, 2007
1 parent 5d28285 commit f507cf5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2007-04-24 Tim Pope <vim@tpope.info>

* ftplugin/eruby.vim: fixed typo in subtype detection
* syntax/eruby.vim: fixed typo in subtype detection

2007-04-20 Tim Pope <vim@tpope.info>

* ftplugin/eruby.vim: refined subtype detection
Expand Down
2 changes: 1 addition & 1 deletion ftplugin/eruby.vim
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ if !exists("b:eruby_subtype")
" Conventional; not a real file type
let b:eruby_subtype = 'text'
elseif b:eruby_subtype == ''
let b:eruby_subtype == 'html'
let b:eruby_subtype = 'html'
endif
endif

Expand Down
2 changes: 1 addition & 1 deletion syntax/eruby.vim
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ if !exists("b:eruby_subtype") && main_syntax == 'eruby'
" Conventional; not a real file type
let b:eruby_subtype = 'text'
elseif b:eruby_subtype == ''
let b:eruby_subtype == 'html'
let b:eruby_subtype = 'html'
endif
endif

Expand Down

0 comments on commit f507cf5

Please sign in to comment.