From 9595e2ba7e63b584e2a32cdee3c86ad9ffccf261 Mon Sep 17 00:00:00 2001 From: Adam Roben Date: Wed, 29 Oct 2014 10:00:09 -0400 Subject: [PATCH] Use text.html.erb scope for HTML+ERB files This grammar does a better job highlighting than the text.html.ruby grammar does. It requires injection grammar support, but there's no getting around that. --- lib/linguist/languages.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/linguist/languages.yml b/lib/linguist/languages.yml index 3e8171b6..414afb77 100644 --- a/lib/linguist/languages.yml +++ b/lib/linguist/languages.yml @@ -1001,7 +1001,7 @@ HTML+Django: HTML+ERB: type: markup - tm_scope: text.html.ruby + tm_scope: text.html.erb group: HTML lexer: RHTML aliases: