aboutsummaryrefslogtreecommitdiff
path: root/plugins/language_ruby.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/language_ruby.lua')
-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 30f2be1..c46d558 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 = {