aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/language_ruby.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/language_ruby.lua b/plugins/language_ruby.lua
index 3651fb5..85717fe 100644
--- a/plugins/language_ruby.lua
+++ b/plugins/language_ruby.lua
@@ -3,7 +3,7 @@ local syntax = require "core.syntax"
syntax.add {
name = "Ruby",
- files = { "%.rb", "%.gemspec" },
+ files = { "%.rb$", "%.gemspec$", "^Gemfile$", "^Gemfile%.lock$" },
headers = "^#!.*[ /]ruby",
comment = "#",
patterns = {